Skip to content

Commit

Permalink
add note regarding bug
Browse files Browse the repository at this point in the history
pgp::composed::signed_key::parse::from_armor_many seems to yield only one key when multiple are present
  • Loading branch information
fairingrey committed Jan 14, 2022
1 parent 9dbab74 commit 3c33b72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions did-webkey/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ fn parse_pubkeys_gpg(
let mut vm_maps = Vec::new();

let c = Cursor::new(bytes);
// BUG: This seems to yield only one key.
let keys = pgp::composed::signed_key::parse::from_armor_many(c)
.map_err(|e| format!("Unable to parse GPG keyring: {}", e))?
.0
Expand Down

0 comments on commit 3c33b72

Please sign in to comment.