aboutsummaryrefslogtreecommitdiff
path: root/testdata/cli_SetPrivateKey_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-05-16 00:20:40 +0700
committerShulhan <ms@kilabit.info>2023-05-16 00:20:40 +0700
commitde4158b930a2afcfa59947ae2cd7127943751805 (patch)
tree3cd3763ed102e1ebf729036ec9ba4da7ca1d0a26 /testdata/cli_SetPrivateKey_test.txt
parent6a9e476354d23da316a94d0d5a7f8b14a273910e (diff)
downloadgotp-de4158b930a2afcfa59947ae2cd7127943751805.tar.xz
all: add command to remove the private key
The remove-private-key decrypt the issuer's value back using previous private key and store it back to file as plain text.
Diffstat (limited to 'testdata/cli_SetPrivateKey_test.txt')
-rw-r--r--testdata/cli_SetPrivateKey_test.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/testdata/cli_SetPrivateKey_test.txt b/testdata/cli_SetPrivateKey_test.txt
index 1162ead..b767b01 100644
--- a/testdata/cli_SetPrivateKey_test.txt
+++ b/testdata/cli_SetPrivateKey_test.txt
@@ -3,7 +3,7 @@ private_key_openssh: testdata/keys/rsa-openssh.pem
Test setting private key from unencrypted configuration.
->>> config.ini.before
+>>> config.ini
[gotp "issuer"]
test1 = SHA1:a:6:30:
test2 = SHA1:b:6:30: