summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-add.c
AgeCommit message (Collapse)Author
2003-06-16print out key comment on each prompt; make ssh-askpass more useable; ok djm@Markus Friedl
2003-06-11make agent constraints (lifetime, confirm) work with smartcard keys; ok markus@Damien Miller
2003-03-05fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@Markus Friedl
2003-01-23ssh-add -c, prompt user for confirmation (using ssh-askpass) whenMarkus Friedl
private agent key is used; with djm@; test by dugsong@, djm@; ok deraadt@
2002-11-21KNFTheo de Raadt
2002-09-19typo; cd@kalkatraz.deMarkus Friedl
2002-06-26fix exit code for -X/-xMarkus Friedl
2002-06-19KNF done automatically while reading....Theo de Raadt
2002-06-15remove the CONSTRAIN_IDENTITY messages and introduce a newMarkus Friedl
ADD_ID message with contraints instead. contraints can be only added together with the private key.
2002-06-15fix stupid typoMarkus Friedl
2002-06-15break agent key lifetime protocol and allow other contraints for key usage.Markus Friedl
2002-06-10use convtime() to parse and validate key lifetime. can nowKevin Steves
use '-t 2h' etc. ok markus@ provos@
2002-06-05ssh-add -t life, Set lifetime (in seconds) when adding identities; ok provos@Markus Friedl
2002-06-05add -x/-X to usageMarkus Friedl
2002-06-05ssh-add -x for lock and -X for unlocking the agent.Markus Friedl
todo: encrypt private keys with locked...
2002-03-21Add PIN-protection for secret key.Jim Rees
2002-03-21ignore errors for nonexisting default keys in ssh-add,Markus Friedl
fixes http://bugzilla.mindrot.org/show_bug.cgi?id=158
2002-03-19KNF whitespaceMarkus Friedl
2002-01-29exit 2 if no agent, exit 1 if list fails; debian#61078; ok djm@Markus Friedl
2001-12-24try all listed keys.. how did this get broken?Theo de Raadt
2001-12-21Try all standard key files (id_rsa, id_dsa, identity) when invoked withDamien Miller
no arguments; ok markus@
2001-12-19basic KNF done while i was looking for something elseTheo de Raadt
2001-10-02return non-zero exit code on error; ok markus@Damien Miller
2001-08-03improve usage(). ok markus@Jakob Schlyter
2001-08-01use strings instead of ints for smartcard reader idsMarkus Friedl
2001-06-27convert to getopt(3)Markus Friedl
2001-06-26initial support for smartcards in the agentMarkus Friedl
2001-06-25update copyright for 2001Markus Friedl
2001-06-24switch to readpassphrase(3)Markus Friedl
2.7/8-stable needs readpassphrase.[ch] from libc
2001-06-23more strict prototypes. raise warning level in Makefile.inc. markus ok'edJun-ichiro itojun Hagino
TODO; cleanup headers
2001-06-06remove debug message; Darren.Moffat@eng.sun.comMarkus Friedl
2001-05-02fix prompt for ssh-add.Markus Friedl
2001-04-18call askpass from ssh, too, based on work by roth@feep.net, ok deraadtMarkus Friedl
2001-04-14use clear_pass instead of xfree()Markus Friedl
2001-04-14do not double freeTheo de Raadt
2001-04-09passphrase caching: ssh-add tries last passphrase, clears passphrase ifMarkus Friedl
not successful and after last try. based on discussions with espie@, jakob@, ... and code from jakob@ and wolfgang@wsrcc.com
2001-04-08init pointers with NULL, thanks to danimal@danimal.orgMarkus Friedl
2001-03-26simpler key load/save interface, see authfile.hMarkus Friedl
2001-03-12remove old key_fingerprint interface, s/_ex//Markus Friedl
2001-03-02make copyright lines the same formatTheo de Raadt
2001-02-04unexpand and remove end-of-line whitespace; ok markus@Kevin Steves
2001-01-21split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.Markus Friedl
rename util.[ch] -> misc.[ch]
2001-01-20do not loop forever if askpass does not exist; from ↵Markus Friedl
andrew@pimlott.ne.mediaone.net
2001-01-19move ssh1 definitions to ssh1.h, pathnames to pathnames.hMarkus Friedl
2001-01-13typo, from stevesk@sweden.hp.comMarkus Friedl
2000-11-12add support for RSA to SSH2. please test.Markus Friedl
there are now 3 types of keys: RSA1 is used by ssh-1 only, RSA and DSA are used by SSH2. you can use 'ssh-keygen -t rsa -f ssh2_rsa_file' to generate RSA keys for SSH2 and use the RSA keys for hostkeys or for user keys. SSH2 RSA or DSA keys are added to .ssh/authorised_keys2 as before. IdentityFile2, HostDsaKey and DSAAuthentication are obsolete. you can use multiple IdentityFile and HostKey for all types of keys. the option DSAAuthentication is replaced by PubkeyAuthetication.
2000-09-07cleanup copyright notices on all files. I have attempted to be accurate withTheo de Raadt
the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
2000-09-05enable ssh-add -d for DSA keysMarkus Friedl
2000-08-28print uid/gid as unsignedTheo de Raadt
2000-08-19add SSH2/DSA support to the agent and some other DSA related cleanups.Markus Friedl
(note that we cannot talk to ssh.com's ssh2 agents)