feat: encryption with age
This commit is contained in:
parent
ba93931c33
commit
9bdc9c30c6
25 changed files with 733 additions and 64 deletions
7
testdata/cp__encrypt__ok.ct
vendored
Normal file
7
testdata/cp__encrypt__ok.ct
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Copy an encrypted key; both keys should decrypt.
|
||||
$ pda set --encrypt secret-key hidden-value
|
||||
$ pda cp secret-key copied-key
|
||||
$ pda get secret-key
|
||||
hidden-value
|
||||
$ pda get copied-key
|
||||
hidden-value
|
||||
Loading…
Add table
Add a link
Reference in a new issue