X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/1554751791fdc733a5f106915f684a31e419797b..ac67be2ec5a39ccfef5bdacd7975e874952eaa33:/manual/become.texi diff --git a/manual/become.texi b/manual/become.texi index a08a128..5944e9a 100644 --- a/manual/become.texi +++ b/manual/become.texi @@ -1,6 +1,6 @@ \input texinfo @c -*-texinfo-*- @c -@c $Id: become.texi,v 1.8 2004/04/08 01:36:20 mdw Exp $ +@c $Id: become.texi,v 1.9 2004/04/17 10:54:21 mdw Exp $ @c @c Documentation for `become' @c @@ -1507,7 +1507,7 @@ The key file can be generated using Catacomb's @code{key} program. The commands @example -key -k /etc/become/become.key add -adsa -e"now + 1 year" become-dsa +key -k /etc/become/become.key add -adsa -e"now + 1 year" become key -k /etc/become/become.key extract -f -secret /etc/become/become.pubkey @end example @@ -1517,6 +1517,17 @@ install the public key on all of your client computers, writable only by root. The private key should be only on the server, and readable or writable only by root. +You can also use elliptic-curve DSA. The key-generation runes are more +complicated in this case. For example, + +@example +key -k /etc/become/become.key add -aec -Cnist-p256 -e"now + 1 year" \ + become sig=ecdsa hash=sha256 +@end example +The @code{hash=sha256} is not required, but it's good to have a hash function +as strong as your curve. See the manpage for @code{key} for more details +about generating elliptic curve keys, and for the kinds of curves supported. + If you have multiple servers, they can all have different private keys. You'll need to put all of the public keys in the @file{/etc/become/become.pubkey} file.