From de4158b930a2afcfa59947ae2cd7127943751805 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Tue, 16 May 2023 00:20:40 +0700 Subject: 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. --- testdata/cli_SetPrivateKey_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testdata/cli_SetPrivateKey_test.txt') 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: -- cgit v1.3