From 9930e7d42035058dd0eb0315a9b4cd4ed7b29a38 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Mon, 22 Nov 2021 19:24:09 +0100 Subject: [PATCH] Clarified: the spec says the card will format accordingly. --- openpgp-card/src/card_app.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/openpgp-card/src/card_app.rs b/openpgp-card/src/card_app.rs index dd7e0fe..68f0863 100644 --- a/openpgp-card/src/card_app.rs +++ b/openpgp-card/src/card_app.rs @@ -422,9 +422,6 @@ impl CardApp { Cryptogram::RSA(message) => { // "Padding indicator byte (00) for RSA" (pg. 69) let mut data = vec![0x0]; - - // FIXME: The spec says we should "format according to PKCS#1" - data.extend_from_slice(message); // Call the card to decrypt `data`