aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-keystore.c
AgeCommit message (Collapse)Author
2017-10-11Cleanup: signed/unsigned mismatches, mostly in loop countersPaul Selkirk
2017-05-28Track API changes in libhal ks9 branch.Rob Austein
2017-04-16Switch to libhal's CRC-32 code.Rob Austein
2017-04-11Track API changes on sw/libhal pkcs8 branch.Rob Austein
2017-02-22Refactor flash code.Paul Selkirk
2016-11-15Reinitialize keystore data structures after wiping keystore flash.Rob Austein
2016-11-14Track removal of hal_rpc_pkey_list().Rob Austein
2016-11-14hal_rpc_pkey_find() -> hal_rpc_pkey_open().Rob Austein
2016-10-09Track changes to libhal pkey API.Rob Austein
2016-10-07Track changes to libhal RPC pkey API.Rob Austein
2016-09-27"keystore erase" now clears entire keystore flash.Rob Austein
Now that we're using more than just the first few sectors of the keystore flash, we need a command to clear the whole thing. This is not quite right yet, because it doesn't yet notify libhal's ks_flash driver that the entire content of the flash has been yanked out from under it. In theory, we should be able to erase the entire flash in a single operation using the bulk erase command command (0xC7), but I couldn't get that to do anything (no error reported, no visible effect), so, for now, we erase by sectors.
2016-09-09Track removal of `type` argument from hal_rpc_pkey_find().Rob Austein
2016-09-02Whack with club until working with new keystore API.Rob Austein
Basic stuff like "keystore show keys", "keystore delete key", and the PIN commands all work with the new keystore code. Some of the management commands are still broken. Some of the old management commands were using libhal-internal APIs for which no real equivalent exists anymore. Some of the old management commands were doing things that, um, never could have worked as written.
2016-07-21Use a fresh port of libcli, which retains more of the original API.Paul Selkirk
2016-07-12merge from projects/hsmFredrik Thulin
2016-07-08merge test code from projects/hsm/Fredrik Thulin
2016-06-09Put all the keystore commands under 'keystore' instead.Fredrik Thulin
Makes more sense to keep them together, at least in the cli-test.