feat: encryption with age
This commit is contained in:
parent
ba93931c33
commit
9bdc9c30c6
25 changed files with 733 additions and 64 deletions
7
testdata/mv__encrypt__ok.ct
vendored
Normal file
7
testdata/mv__encrypt__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Move an encrypted key; the new key should still decrypt.
|
||||
$ pda set --encrypt secret-key hidden-value
|
||||
$ pda mv secret-key moved-key
|
||||
$ pda get moved-key
|
||||
hidden-value
|
||||
$ pda get secret-key --> FAIL
|
||||
FAIL cannot get 'secret-key': no such key
|
||||
Loading…
Add table
Add a link
Reference in a new issue