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
Options Trader Salary (June 2024) - Zippia
What Is an SBA Preferred Lender? | SBA 7(a) Loans
Po Box 7250 Sioux Falls Sd
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Tesla Supercharger La Crosse Photos
Kokichi's Day At The Zoo
Kansas Craigslist Free Stuff
Shorthand: The Write Way to Speed Up Communication
Obituary (Binghamton Press & Sun-Bulletin): Tully Area Historical Society
Best Theia Builds (Talent | Skill Order | Pairing + Pets) In Call of Dragons - AllClash
Acbl Homeport
123 Movies Babylon
Mercy MyPay (Online Pay Stubs) / mercy-mypay-online-pay-stubs.pdf / PDF4PRO
Azeroth Pilot Reloaded - Addons - World of Warcraft
Springfield Mo Craiglist
Love In The Air Ep 9 Eng Sub Dailymotion
Midlife Crisis F95Zone
065106619
Craftology East Peoria Il
Eva Mastromatteo Erie Pa
Palm Coast Permits Online
NHS England » Winter and H2 priorities
Bj Alex Mangabuddy
Best Nail Salons Open Near Me
Governor Brown Signs Legislation Supporting California Legislative Women's Caucus Priorities
What Is The Lineup For Nascar Race Today
Jordan Poyer Wiki
Walmart Pharmacy Near Me Open
Beaufort 72 Hour
Bleacher Report Philadelphia Flyers
4Oxfun
JVID Rina sauce set1
Marokko houdt honderden mensen tegen die illegaal grens met Spaanse stad Ceuta wilden oversteken
Ou Football Brainiacs
Miles City Montana Craigslist
Angel Haynes Dropbox
Publix Christmas Dinner 2022
Mini-Mental State Examination (MMSE) – Strokengine
Motor Mounts
Kamzz Llc
4083519708
Second Chance Apartments, 2nd Chance Apartments Locators for Bad Credit
Kutty Movie Net
6576771660
Port Huron Newspaper
Devotion Showtimes Near Showplace Icon At Valley Fair
Headlining Hip Hopper Crossword Clue
552 Bus Schedule To Atlantic City
Germany’s intensely private and immensely wealthy Reimann family
Roller Znen ZN50QT-E
Sam's Club Fountain Valley Gas Prices
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.