aboutsummaryrefslogtreecommitdiffstats
path: root/lacme-accountd
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-12-09 19:02:44 +0100
committerGuilhem Moulin <guilhem@fripost.org>2020-12-09 19:17:49 +0100
commitc93443364ce23ced97a80bfda8f8bb35ec19fcdb (patch)
tree045db8181eac474416f04c23155355add920ab17 /lacme-accountd
parent647d28bf9b8da2ce47a888aad71ab5264eea6c6d (diff)
documentation: suggest to generate private key material with genpkey(1ssl).
* Also suggest a command to generate an ECDSA key not just RSA. * Hint at which key algorithms are supported.
Diffstat (limited to 'lacme-accountd')
-rwxr-xr-xlacme-accountd2
1 files changed, 1 insertions, 1 deletions
diff --git a/lacme-accountd b/lacme-accountd
index af64168..deccfa2 100755
--- a/lacme-accountd
+++ b/lacme-accountd
@@ -94,7 +94,7 @@ if ($OPTS{privkey} =~ /\A(file|gpg):(\p{Print}+)\z/) {
my ($method, $filename) = ($1,$2);
my ($fh, @command);
if ($method eq 'file') {
- # generate with `openssl genrsa 4096 | install --mode=0600 /dev/stdin /tmp/privkey`
+ # generate with `openssl genpkey -algorithm RSA`
open $fh, '<', $filename or die "Error: Can't open $filename: $!\n";
}
elsif ($method eq 'gpg') {