Don't send NE value for decryption
This is slightly more compliant to spec. OpenPGP-Applet implementations I've looked at don't seem to care, but for some reason this still improves compatibility. See https://github.com/open-keychain/open-keychain/issues/2049
This commit is contained in:
parent
bccc20ea32
commit
1c8cc99c68
|
@ -136,8 +136,7 @@ public class OpenPgpCommandApduFactory {
|
|||
|
||||
@NonNull
|
||||
public CommandApdu createDecipherCommand(byte[] data) {
|
||||
return CommandApdu.create(CLA, INS_PERFORM_SECURITY_OPERATION, P1_PSO_DECIPHER, P2_PSO_DECIPHER, data,
|
||||
MAX_APDU_NE_EXT);
|
||||
return CommandApdu.create(CLA, INS_PERFORM_SECURITY_OPERATION, P1_PSO_DECIPHER, P2_PSO_DECIPHER, data);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
|
Loading…
Reference in a new issue