Why Cleartext Signatures in PGP/GnuPG Are Problematic and Should Be Avoided
By
derleyici
Hand-rolled, kettle-boiled, baked to perfection. Worth every minute at the bakery.
Summary
This article argues that cleartext signatures in PGP/GnuPG are a flawed and dangerous feature that should be avoided. It explains how cleartext signatures work, the problems they introduce (such as line-ending normalization issues, trailing whitespace problems, and ambiguity in signed content), and why they remain in use despite these issues. The author provides technical examples of how cleartext signatures can lead to verification failures or security misunderstandings, and recommends using detached signatures or inline signing instead.
Key quotes
· 3 pulledFar out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy lies a small unregarded yellow sun.
Since the very first PGP versions from the early 1990ies PGP and all other implementations support a thing called cleartext signature.
iJEEARYKADkWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaU5mGhsUgAAAAAAEAA5tYW51MiwyLjUrMS4xMSwyLDIACgkQGcwcnghbEHq27gEAqE+Cw1FmIlDXyzc1+5K83e60/3TjpqpFmkmu
You might also wanna read
Running Gemma 4 on a 2016 Xeon Server with No GPU: A Technical Walkthrough
The article describes running Gemma 4 (a 25B-parameter Mixture-of-Experts model) on a severely outdated server with a 2016 Intel Xeon E5-262
NVIDIA Announces "Hack for Impact" London Event for Autonomous AI Agent Development
NVIDIA is hosting a "Hack for Impact" event in London, challenging participants to build autonomous agentic applications using open-source m
Four practical steps to control Azure Foundry token costs for agentic AI workloads
This article provides practical guidance on controlling token costs in Microsoft Azure Foundry, particularly for agentic AI workloads where
MerLean-Prover: A Recursive Agent Harness for Lean 4 Theorem Proving Outperforms Baselines
MerLean-Prover is an end-to-end Lean4 theorem prover that replaces 'sorry' declarations with kernel-checkable proofs using three agent types
Why small pull request policies can backfire on software quality
The article critiques a common software engineering policy that limits pull requests (PRs) to small sizes (e.g., 500 lines, few files). Whil
apenwarr.ca·7h agoHow Anthropic contains Claude's expanding access across its products
Anthropic describes how it has evolved its approach to granting Claude, its AI assistant, increasingly broad access to internal systems over
