Skip to content
  • Neal H. Walfield's avatar
    openpgp: Reject short key IDs. · 049b0590
    Neal H. Walfield authored and Neal H. Walfield's avatar Neal H. Walfield committed
      - When parsing a key ID string, reject short key IDs.
    
      - Note: we can't reject short key IDs in `KeyID::from_bytes`,
        because that function in infallible.  But, that function does return
        `KeyID::Invalid` when presented with a short key ID.
    
      - Fixes #388.
    049b0590