Support PGP fingerprints containing whitespace #22

Open
opened 7 months ago by LenzGr · 1 comments

Just ran into this "gotcha": I added my PGP fingerprint to my Mastodon profile metadata using the "OpenPGP" label and kept the blanks in the fingerprint that were inserted by the gpg --fingerprint command for readability.

This caused keyoxide to not verify my identity claim (showing a red "X" mark). Removing the blanks on the fingerprint on my Mastodon profile fixed the issue. I'd like to request that the code that parses these fingerprints is made more robust and supports fingerprints that contain white space. Thanks!

Just ran into this "gotcha": I added my PGP fingerprint to my Mastodon profile metadata using the "OpenPGP" label and kept the blanks in the fingerprint that were inserted by the `gpg --fingerprint` command for readability. This caused keyoxide to not verify my identity claim (showing a red "X" mark). Removing the blanks on the fingerprint on my Mastodon profile fixed the issue. I'd like to request that the code that parses these fingerprints is made more robust and supports fingerprints that contain white space. Thanks!
yarmo added the
bug
label 3 weeks ago
yarmo added this to the Bugs project 3 weeks ago
Owner

It would be possible to remove all spaces from a proof before checking it for fingerprints! That would solve the issue without compromising anything, I think.

It would be possible to remove all spaces from a proof before checking it for fingerprints! That would solve the issue without compromising anything, I think.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: keyoxide/doipjs#22
Loading…
There is no content yet.