All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Why Cleartext Signatures in PGP/GnuPG Are Problematic and Should Be Avoided

By

derleyici

5mo ago· 6 min readenInsight

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 pulled
Far 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
Snippet from the RSS feed
GnuPG is a free implementation of OpenPGP

You might also wanna read