2.5.2p2: comments in key files

Jos Backus josb at cncdsl.com
Sat Apr 21 05:46:41 EST 2001


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;



More information about the openssh-unix-dev mailing list