diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2020-12-09 19:02:44 +0100 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2020-12-09 19:17:49 +0100 | 
| commit | c93443364ce23ced97a80bfda8f8bb35ec19fcdb (patch) | |
| tree | 045db8181eac474416f04c23155355add920ab17 /lacme-accountd | |
| parent | 647d28bf9b8da2ce47a888aad71ab5264eea6c6d (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-x | lacme-accountd | 2 | 
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') {  | 
