Commit Graph

28 Commits (2444933122d1313fa5719f8a1f2ccc2529773d85)

Author SHA1 Message Date
_ 20ee11b4f8 🚧 wip: working on key signing still 2021-01-20 23:24:55 +00:00
_ ddba8953fa 🚧 wip: working on process for a human key signing other keys 2021-01-19 20:58:24 -06:00
_ 02346c3285 ♻️ refactor: switch to Bytes typedef 2021-01-19 19:31:41 -06:00
_ 199aacadd3 ♻️ refactor 2021-01-19 19:10:33 -06:00
_ cc1c7c9229 update: human and machine files working well.
It turns out the bate secret key for machine files already has the pubkey
cached in it by libsodium, so I dropped that.
I'm also going to drop it from the internals, it seems simpler
2021-01-19 19:01:27 -06:00
_ 278d591954 update: add perms warning 2021-01-19 18:22:22 -06:00
_ ce917e7348 update: add `--file` command for debugging artifacts from BMC 2021-01-19 18:16:43 -06:00
_ b0b6c5672c update: improve CA key format
- Save with 0400 perms so PTTH won't accidentally serve them
- Save D-Bus machine ID if possible to detect when keys accidentally change machines
- Add random schema version
2021-01-19 17:59:49 -06:00
_ ce3342d961 ♻️ refactor: splitting into in-mem and on-disk formats, for 'check key' cmd 2021-01-19 23:01:17 +00:00
_ 7b11633015 update: add keygen for root keys 2021-01-19 22:52:02 +00:00
_ 49a30866df 🚧 wip: considering passphrase-protected keys 2021-01-18 20:41:05 -06:00
_ 02b7cca354 update: working on sender role 2021-01-18 22:57:33 +00:00
_ dd6ddbcd80 update: remove un-needed base64 in more places 2021-01-18 22:23:38 +00:00
_ 7ed3ab27d3 update: switch to msgpack. I didn't know nlohmann already had that, it's way better for this case 2021-01-18 22:13:48 +00:00
_ 9f745d6175 🚧 wip 2021-01-17 20:52:36 -06:00
_ d7e9823678 🚧 wip: working on serialization 2021-01-17 19:17:06 -06:00
_ 6b4f9e2b00 🚧 wip 2021-01-17 18:31:47 -06:00
_ bc625095c7 update: establishing the receiver role clearly 2021-01-17 18:00:45 -06:00
_ fb1e133ca1 ♻️ refactor: Extract Instant struct 2021-01-17 17:31:28 -06:00
_ 026db25ba7 ♻️ refactor: extract verify_cert_and_data 2021-01-17 17:03:32 -06:00
_ 0fa43a71d2 ♻️ refactor 2021-01-17 15:58:35 -06:00
_ 8438ec3225 ♻️ refactor 2021-01-17 15:53:04 -06:00
_ 9c4fe4a26e ♻️ refactor 2021-01-17 15:45:59 -06:00
_ 3fdfc983e2 ♻️ refactor: splitting out util functions 2021-01-17 15:36:56 -06:00
_ f387c69858 update: better base64 lib 2021-01-17 10:16:57 -06:00
_ 0f0e59029f update: so I don't like this base64 lib anymore. It has no error handling. 2021-01-17 09:52:38 -06:00
_ 1b2e5adc84 🚧 wip 2021-01-17 09:11:21 -06:00
_ 11d1f868d7 🚧 wip: making some examples / demos for easy ways to use libsodium 2021-01-16 18:44:11 -06:00