Add support for AES commands in smartpgp-cli

This commit is contained in:
Arnaud Fontaine
2017-07-11 16:57:11 +02:00
parent ec84edb737
commit 60b6b09192
3 changed files with 133 additions and 7 deletions

View File

@@ -43,6 +43,9 @@ VALID_COMMANDS={
'put-sm-key': CardConnectionContext.cmd_put_sm_key,
'put-sm-certificate': CardConnectionContext.cmd_put_sm_certificate,
'get-sm-certificate': CardConnectionContext.cmd_get_sm_certificate,
'put-aes-key': CardConnectionContext.cmd_put_aes_key,
'encrypt-aes': CardConnectionContext.cmd_encrypt_aes,
'decrypt-aes': CardConnectionContext.cmd_decrypt_aes,
}
def read_pin_interactive(name):