diff options
| author | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
| commit | 1da5637997e7971cbde77dbf642ea734fbb2f4cc (patch) | |
| tree | 8b3891c9a6e37275997f0e9d44df219d2b50076c /versions | |
| parent | 72e37d2dac501faa300ca895c56c53eea43ae4ae (diff) | |
| download | rsend-1da5637997e7971cbde77dbf642ea734fbb2f4cc.tar.gz | |
keys: never write the plaintext private key to disk
rsh -keygen printed the pubkey but wrote the key pair into a directory,
so generating a key briefly left the plaintext private key on flash,
contradicting the documented invariant that it only ever exists in
memory. -keygen now emits the private key PEM on stdout and nothing
else; the app encrypts it immediately and derives the public key via
-pubkey, reusing the validated import path. Keygen failures now surface
as an error dialog instead of crashing the app from a bare thread.
Diffstat (limited to 'versions')
0 files changed, 0 insertions, 0 deletions