aboutsummaryrefslogtreecommitdiff
path: root/key-backup.py
AgeCommit message (Collapse)Author
2017-04-07Shake bugs out of hal_rpc_pkey_import().Rob Austein
2017-04-06Initial test and debug script for key backup.Rob Austein
In the long run this code will fork for two different purposes: a) A user backup script, which need not handle ASN.1 or crypto, thus can (and should) be really simple; and b) Unit test code for the key export and import functions. So far, hal_rpc_pkey_export() appears to be working, at least under light testing (result of unpacking everything looks like a key, anyway, haven't tested the unpacked key yet). Still need to write test code for hal_rpc_pkey_import().