diff options
Diffstat (limited to 'testdata/cli_SetPrivateKey_test.txt')
| -rw-r--r-- | testdata/cli_SetPrivateKey_test.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testdata/cli_SetPrivateKey_test.txt b/testdata/cli_SetPrivateKey_test.txt new file mode 100644 index 0000000..1162ead --- /dev/null +++ b/testdata/cli_SetPrivateKey_test.txt @@ -0,0 +1,22 @@ +private_key_openssl: testdata/keys/rsa-openssl.pem +private_key_openssh: testdata/keys/rsa-openssh.pem + +Test setting private key from unencrypted configuration. + +>>> config.ini.before +[gotp "issuer"] +test1 = SHA1:a:6:30: +test2 = SHA1:b:6:30: +test3 = SHA1:c:6:30: +test4 = SHA1:d:6:30: +test5 = SHA1:e:6:30: + +[gotp] +private_key = + +<<< issuers +test1 = SHA1:a:6:30: +test2 = SHA1:b:6:30: +test3 = SHA1:c:6:30: +test4 = SHA1:d:6:30: +test5 = SHA1:e:6:30: |
