a modern crypto messaging format (2024)

We know from re-implementing PGP's message format (RFC 4880) ourselves(here), it has a lot of issues. Some make lifedifficult for implementers, but others are problems for end users too:

1. PGP encryption doesn't reliably authenticate the sender.

PGP encrypted messages aren't authenticated by default. Even when you addsigning, however, they're vulnerable to a "surreptitious forwardingattack". Normallywhen you read an encrypted message you know that you were the intendedrecipient, because the message is encrypted to your public key. When thatmessage is also signed, you technically still know that it was encrypted foryou, but you don't know whether the encrypter and the signer were the sameperson. If Alice signs-and-encrypts a message to Bob, Bob can decrypt themessage and then reencrypt the same signed message for Charlie. The result isa message that appears to be from Alice to Charlie, even though that might notbe how Alice intended it.

2. GnuPG will output data that doesn't verify.

If you run gpg --decrypt on a corrupt message, it will print the plaintext tostdout, and you'll only find out if the message is bad at the end, afteryou've streamed out unsigned data. Try it on this message signed by Jack'skey:

-----BEGIN PGP MESSAGE-----Version: GnuPG v2kA0DAAIBcYdraK1ILTIBy5liAFaqa7BKb2huIEphY29iIEppbmdsZWhlaW1lciBTY2htaWR0LApIaXMgbmFtZSBpcyBteSBuYW1lIHRvby4KV2hlbmV2ZXIgd2UgZ28gb3V0LApUaGUgcGVvcGxlIGFsd2F5cyBzaG91dCwKVGhlcmUgZ29lcyBBIE1BTiBJTiBUSEUgTUlERExFIE9IIFNISUlJMTF0IQqJARwEAAECAAYFAlaqa7AACgkQcYdraK1ILTK6Ewf9GIIzBmtGuNeJXUGAoDbG5mmVDyMwpu3i72OwOfoSo+4GI6mT/FuVPKh7HCKwglmTuO2oazg0sUnoktjmHxdNQuJZ+6ii/5xXb80XEHFECFDClrjwbkeE+3irJDrpnmuQzRyJVOYh+fr7dxrlN7pgMdjlkbAgWnATZ+k1zf8z40p8SANNpXHt9yie6nuzKUd1LUujPa4sz6BfNW0Clcp3c0XFeU2je//4TcZ+4/Ql2B1/MdzqF4+GTPh+B1L8k9F9TNgyh9lXyez90oRLEvw3+3o9+CvMvQb6Gb8aR+eW/rE+wabdiwSYqfLaI0VHvwNCa1NV/5MmX6UKUzNV2c4vcAo==uIW7-----END PGP MESSAGE-----

3. Anonymous recipients aren't fully anonymous.

Even with the --hidden-recipient flag, RSA encryption leaks some informationabout the recipient's key.

4. PGP ASCII armor isn't friendly to modern apps and phones.

a modern crypto messaging format (1)
One of many manglings

Almost all apps, email clients, chat clients, and web pages do post-processingon the text people post. PGP's whitespace pattern, use of hyphens and slashes,and header lines are not friendly. You shouldn't have to edit a message by handbefore passing it off to your crypto program.

5. Lack of Constraints Can Be Dangerous

PGP's strategy of composable, nested streams is a headache to implement andallows attackers to craft messages that explode memoryusage. Thereare workarounds, but the underlying problem is that the spec gives messagecrafters too much flexibility.

6. It's 2020 and PGP Still Hasn't Kicked SHA1 to the Curb

The spec requires key fingerprints to be output by SHA1. Thathasn't bitten PGP yet but who knows. And for whatever reason,modern PGP clients will still accept signatures and keys that use SHA1,often with dire consequences.

a modern crypto messaging format (2024)
Top Articles
New Year, New Love Life: Here's How to Make It Happen
Slime Queen Pet Spawn Egg
Artem The Gambler
Fort Morgan Hometown Takeover Map
Matgyn
Jackerman Mothers Warmth Part 3
The 10 Best Restaurants In Freiburg Germany
Fully Enclosed IP20 Interface Modules To Ensure Safety In Industrial Environment
Wells Fargo Careers Log In
Die Windows GDI+ (Teil 1)
1movierulzhd.fun Reviews | scam, legit or safe check | Scamadviser
DL1678 (DAL1678) Delta Historial y rastreo de vuelos - FlightAware
Is Csl Plasma Open On 4Th Of July
Clafi Arab
Canelo Vs Ryder Directv
Bill Devane Obituary
PGA of America leaving Palm Beach Gardens for Frisco, Texas
Nexus Crossword Puzzle Solver
Walthampatch
Gwdonate Org
Best Nail Salon Rome Ga
Munich residents spend the most online for food
Amc Flight Schedule
Simpsons Tapped Out Road To Riches
Yakimacraigslist
Culver's Flavor Of The Day Taylor Dr
Graphic Look Inside Jeffrey Dahmer
Dragger Games For The Brain
Company History - Horizon NJ Health
Mega Personal St Louis
Striffler-Hamby Mortuary - Phenix City Obituaries
Paradise Point Animal Hospital With Veterinarians On-The-Go
Dailymotion
Metro By T Mobile Sign In
The Legacy 3: The Tree of Might – Walkthrough
Kgirls Seattle
Ludvigsen Mortuary Fremont Nebraska
How To Get Soul Reaper Knife In Critical Legends
Kelly Ripa Necklace 2022
888-333-4026
Fifty Shades Of Gray 123Movies
How Does The Common App Work? A Guide To The Common App
Tattoo Shops In Ocean City Nj
Walgreens On Secor And Alexis
Po Box 101584 Nashville Tn
Rocket League Tracker: A useful tool for every player
Dayton Overdrive
Strange World Showtimes Near Century Federal Way
Fishing Hook Memorial Tattoo
Ranking 134 college football teams after Week 1, from Georgia to Temple
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 5876

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.