aboutsummaryrefslogtreecommitdiffstats
path: root/tests/account-encrypted-openssl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2024-06-13 17:54:21 +0200
committerGuilhem Moulin <guilhem@debian.org>2024-06-13 17:54:21 +0200
commit31168af791066a43adf6a52d2f51da6185bab15e (patch)
tree134768f15684231732ef2640e5a60a630c5886ea /tests/account-encrypted-openssl
parentd531c00ae1c422b3f0948d297098722fb448edb5 (diff)
parentce6a95d172dbefd0e310c46e0a0d9c56d19e34ca (diff)
Merge tag 'v0.8.3' into debian/latest
Release version 0.8.3
Diffstat (limited to 'tests/account-encrypted-openssl')
-rw-r--r--tests/account-encrypted-openssl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/account-encrypted-openssl b/tests/account-encrypted-openssl
index e79a528..1f97fd0 100644
--- a/tests/account-encrypted-openssl
+++ b/tests/account-encrypted-openssl
@@ -2,9 +2,10 @@
PASSPHRASE="test"
-openssl rsa -aes128 -passout pass:"$PASSPHRASE" </etc/lacme/account.key >/etc/lacme/account.enc.key
+openssl rsa -in /etc/lacme/account.key -out /etc/lacme/account.enc.key -aes128 -passout pass:"$PASSPHRASE"
sed -ri '0,\|^#?privkey\s*=.*| {s||privkey = file:/etc/lacme/account.enc.key|}' /etc/lacme/lacme-accountd.conf
+export TERM="linux"
lacme account
# vim: set filetype=sh :