It appears to be possible to put comments in DSA key files, even though
comments are not supported in those files:
taiko:/depot/src/openssh-2.5.2p2% ./ssh-keygen -d -f mykey -C
"comment"
Generating public/private dsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in mykey.
Your public key has been saved in mykey.pub.
The key fingerprint is:
7c:20:82:55:a2:2d:80:2c:e2:89:37:cf:f8:de:f4:39 comment
taiko:/depot/src/openssh-2.5.2p2% ./ssh-keygen -d -f mykey -c -C "new
comment"
mykey is not a valid key file.
Comments are only supported in RSA1 keys
taiko:/depot/src/openssh-2.5.2p2%
--
Jos Backus _/ _/_/_/ "Modularity is not a
hack."
_/ _/ _/ -- D. J. Bernstein
_/ _/_/_/
_/ _/ _/ _/
josb at cncdsl.com _/_/ _/_/_/ use Std::Disclaimer;
On Fri, Apr 20, 2001 at 12:46:41PM -0700, Jos Backus wrote:> It appears to be possible to put comments in DSA key files, even though > comments are not supported in those files:you can put a comment in the public key file, but not in the private key file. this is why '-c' does not work. -m