🚧 wip: working on BMC

main
_ 2021-02-08 22:26:49 +00:00
parent c1fd0edbb2
commit 43f24e86be
2 changed files with 13 additions and 0 deletions

View File

@ -204,6 +204,7 @@ int main (int argc, char ** argv) {
("generate-human-key", "Generate a passphrase-protected key for human use", cxxopts::value <string> ())
("generate-machine-key", "Generate a key for machine use, with no passphrase", cxxopts::value <string> ())
("generate-key-cert", "Certify a key for 3 months and save the cert here", cxxopts::value <string> ())
("generate-data-cert", "Certify data for 1 week and save the cert here", cxxopts::value <string> ())
// cxxopts nonsense
("using-key", "Key to load for other operations", cxxopts::value <string> ())

View File

@ -1,2 +1,14 @@
User story checklist:
C++ implementation:
- (X) Generate human secret key
- (X) Generate machine secret key
- (X) Certify signing key with root secret key
- ( ) Sign payload with signing key
- ( ) Verify payload with root pubkey
Todo:
- Use libsodium's secure memory when handling keys / seeds / passphrases
- Test on Windows (machine_id won't work)