[python module] default to HMAC SHA256 when an HMAC key is used but no HMAC mode was specified

This commit is contained in:
Michael Rash
2014-10-23 08:45:21 -04:00
parent d7be3f43ac
commit a2ce50e9e5
4 changed files with 33 additions and 22 deletions
+4
View File
@@ -32,6 +32,10 @@ def main():
print "Version:", fko.version()
print "Timestamp:", fko.timestamp()
print "Username:", fko.username()
print "Encryption Type (value):", fko.encryption_type()
print "Encryption Type (string):", fko.encryption_type_str()
print "Encryption Mode (value):", fko.encryption_mode()
print "Encryption Mode (string):", fko.encryption_mode_str()
print "Digest Type (value):", fko.digest_type()
print "Digest Type (string):", fko.digest_type_str()
print "Digest:", fko.spa_digest()