diff --git a/openpgp-card-sequoia/src/decryptor.rs b/openpgp-card-sequoia/src/decryptor.rs index cba44fd..5631f04 100644 --- a/openpgp-card-sequoia/src/decryptor.rs +++ b/openpgp-card-sequoia/src/decryptor.rs @@ -118,6 +118,7 @@ impl<'a> crypto::Decryptor for CardDecryptor<'a> { // (Gnuk returns a leading '0x04' byte and // an additional 32 trailing bytes) if curve == &Curve::NistP256 && dec.len() == 65 { + // see Gnuk src/call-ec.c:82 dec = dec[1..33].to_vec(); }