Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenPGP card doesn't support raw RSA so don't set such algo flag
According to descriptions of commands "PSO: COMPUTE DIGITAL SIGNATURE", "PSO: DECIPHER" and "INTERNAL AUTHENTICATE" in OpenPGP card spec (versions 1.1 and 2.1.1) the card adds / strips and checks PKCS#1 padding automatically. There is no documented way to perform raw RSA operations on this card so SC_ALGORITHM_RSA_RAW flag shouldn't be set. Signed-off-by: Maciej S. Szmigiero <[email protected]>
- Loading branch information