aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-keystore.c
AgeCommit message (Collapse)Author
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.