summaryrefslogtreecommitdiffstats
path: root/ssh-agent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agentDamien Miller2004-03-031-0/+9
| | | | ok dtucker
* - markus@cvs.openbsd.org 2003/12/02 17:01:15Darren Tucker2003-12-091-2/+2
| | | | | [channels.c session.c ssh-agent.c ssh.h sshd.c] use SSH_LISTEN_BACKLOG (=128) in listen(2).
* - djm@cvs.openbsd.org 2003/11/21 11:57:03Damien Miller2003-11-211-2/+2
| | | | | | [everything] unexpand and delete whitespace at EOL; ok markus@ (done locally and RCS IDs synced)
* - markus@cvs.openbsd.org 2003/10/14 19:54:39Darren Tucker2003-10-151-2/+2
| | | | | [session.c ssh-agent.c] 10X for mkdtemp; djm@
* - markus@cvs.openbsd.org 2003/09/23 20:17:11Darren Tucker2003-10-021-13/+2
| | | | | | | | | | | [Makefile.in auth1.c auth2.c auth.c auth.h auth-krb5.c canohost.c cleanup.c clientloop.c fatal.c gss-serv.c log.c log.h monitor.c monitor.h monitor_wrap.c monitor_wrap.h packet.c serverloop.c session.c session.h ssh-agent.c sshd.c] replace fatal_cleanup() and linked list of fatal callbacks with static cleanup_exit() function. re-refine cleanup_exit() where appropriate, allocate sshd's authctxt eary to allow simpler cleanup in sshd. tested by many, ok deraadt@
* - markus@cvs.openbsd.org 2003/09/19 11:29:40Darren Tucker2003-09-221-6/+16
| | | | | [ssh-agent.c] provide a ssh-agent specific fatal() function; ok deraadt
* - markus@cvs.openbsd.org 2003/09/18 08:49:45Darren Tucker2003-09-221-8/+9
| | | | | | [deattack.c misc.c session.c ssh-agent.c] more buffer allocation fixes; from Solar Designer; CAN-2003-0682; ok millert@
* - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with HeimdalDamien Miller2003-08-221-1/+1
| | | | -lbroken; ok dtucker
* - markus@cvs.openbsd.org 2003/06/12 19:12:03Damien Miller2003-06-181-2/+2
| | | | | [scard.c scard.h ssh-agent.c ssh.c] add sc_get_key_label; larsch at trustcenter.de; bugzilla#591
* - djm@cvs.openbsd.org 2003/06/11 11:18:38Damien Miller2003-06-111-4/+21
| | | | | | [authfd.c authfd.h ssh-add.c ssh-agent.c] make agent constraints (lifetime, confirm) work with smartcard keys; ok markus@
* - (djm) Always use mysignal() for SIGALRMDamien Miller2003-06-041-2/+2
|
* - (djm) RCSID sync w/ OpenBSDDamien Miller2003-05-141-1/+1
|
* *** empty log message ***Damien Miller2003-04-091-2/+2
|
* - markus@cvs.openbsd.org 2003/03/13 11:44:50Damien Miller2003-03-151-1/+12
| | | | | | | [ssh-agent.c] ssh-agent is similar to ssh-keysign (allows other processes to use private rsa keys). however, it gets key over socket and not from a file, so we have to do blinding here as well.
* - markus@cvs.openbsd.org 2003/01/23 13:50:27Damien Miller2003-01-241-8/+46
| | | | | | | [authfd.c authfd.h readpass.c ssh-add.1 ssh-add.c ssh-agent.c] ssh-add -c, prompt user for confirmation (using ssh-askpass) when private agent key is used; with djm@; test by dugsong@, djm@; ok deraadt@
* - (djm) OpenBSD CVS SyncDamien Miller2003-01-221-2/+14
| | | | | | | | - marc@cvs.openbsd.org 2003/01/21 18:14:36 [ssh-agent.1 ssh-agent.c] Add a -t life option to ssh-agent that set the default lifetime. The default can still be overriden by using -t in ssh-add. OK markus@
* - (djm) OpenBSD CVS SyncDamien Miller2002-10-031-2/+2
| | | | | | - markus@cvs.openbsd.org 2002/10/01 20:34:12 [ssh-agent.c] allow root to access the agent, since there is no protection from root.
* - (djm) OpenBSD CVS SyncDamien Miller2002-09-191-3/+3
| | | | | | - stevesk@cvs.openbsd.org 2002/09/12 19:11:52 [ssh-agent.c] %u for uid print; ok markus@
* - (djm) Sync sys/tree.h with OpenBSD -current. Rename tree.h andDamien Miller2002-09-121-1/+1
| | | | fake-queue.h to sys-tree.h and sys-queue.h
* - markus@cvs.openbsd.org 2002/09/10 20:24:47Damien Miller2002-09-121-1/+16
| | | | | | [ssh-agent.c] check the euid of the connecting process with getpeereid(2); ok provos deraadt stevesk
* - stevesk@cvs.openbsd.org 2002/08/22 20:57:19Damien Miller2002-09-041-2/+1
| | | | | [ssh-agent.c] shutdown(SHUT_RDWR) not needed before close here; ok markus@
* - stevesk@cvs.openbsd.org 2002/08/22 19:27:53Damien Miller2002-09-041-22/+16
| | | | | [ssh-agent.c] use common close function; ok markus@
* - stevesk@cvs.openbsd.org 2002/08/21 20:10:28Damien Miller2002-09-041-2/+2
| | | | | [ssh-agent.c] raise listen backlog; ok markus@
* - markus@cvs.openbsd.org 2002/08/12 10:46:35Damien Miller2002-09-041-1/+5
| | | | | | [ssh-agent.c] make ssh-agent setgid, disallow ptrace. (note: change not yet made in Makefile)
* - (bal) sync ID w/ ssh-agent.cBen Lindstrom2002-07-231-1/+1
|
* - markus@cvs.openbsd.org 2002/06/24 14:55:38Ben Lindstrom2002-06-261-3/+3
| | | | | [authfile.c kex.c ssh-agent.c] cat to (void) when output from buffer_get_X is ignored
* - deraadt@cvs.openbsd.org 2002/06/23 10:29:52Ben Lindstrom2002-06-231-36/+37
| | | | | [ssh-agent.c sshd.c] some minor KNF and %u
* - (bal) add extern char *getopt. Based on report by dtucker@zip.com.auBen Lindstrom2002-06-231-0/+1
|
* - (bal) removed GNUism for getops in ssh-agent since glibc lacks optreset.Ben Lindstrom2002-06-231-4/+0
|
* - deraadt@cvs.openbsd.org 2002/06/19 00:27:55Ben Lindstrom2002-06-211-4/+2
| | | | | | | | | [auth-bsdauth.c auth-skey.c auth1.c auth2-chall.c auth2-none.c authfd.c authfd.h monitor_wrap.c msg.c nchan.c radix.c readconf.c scp.c sftp.1 ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.1 ssh-keygen.c ssh-keysign.c ssh.1 sshconnect.c sshconnect.h sshconnect2.c ttymodes.c xmalloc.h] KNF done automatically while reading....
* - markus@cvs.openbsd.org 2002/06/15 01:27:48Ben Lindstrom2002-06-211-53/+14
| | | | | | | [authfd.c authfd.h ssh-add.c ssh-agent.c] remove the CONSTRAIN_IDENTITY messages and introduce a new ADD_ID message with contraints instead. contraints can be only added together with the private key.
* - markus@cvs.openbsd.org 2002/06/15 00:07:38Ben Lindstrom2002-06-211-7/+7
| | | | | [authfd.c authfd.h ssh-add.c ssh-agent.c] fix stupid typo
* - markus@cvs.openbsd.org 2002/06/15 00:01:36Ben Lindstrom2002-06-211-10/+17
| | | | | | [authfd.c authfd.h ssh-add.c ssh-agent.c] break agent key lifetime protocol and allow other contraints for key usage.
* - mpech@cvs.openbsd.org 2002/06/11 05:46:20Ben Lindstrom2002-06-111-7/+7
| | | | | | [auth-krb4.c monitor.h serverloop.c session.c ssh-agent.c sshd.c] pid_t cleanup. Markus need this now to keep hacking. markus@, millert@ ok
* - (bal) ssh-agent.c RCSD fix (|unexpand already done)Ben Lindstrom2002-06-111-1/+1
|
* unexpandBen Lindstrom2002-06-091-1/+1
|
* - markus@cvs.openbsd.org 2002/06/05 21:55:44Ben Lindstrom2002-06-061-9/+80
| | | | | | [authfd.c authfd.h ssh-add.1 ssh-add.c ssh-agent.c] ssh-add -t life, Set lifetime (in seconds) when adding identities; ok provos@
* - markus@cvs.openbsd.org 2002/06/05 19:57:12Ben Lindstrom2002-06-061-1/+68
| | | | | | [authfd.c authfd.h ssh-add.1 ssh-add.c ssh-agent.c] ssh-add -x for lock and -X for unlocking the agent. todo: encrypt private keys with locked...
* - markus@cvs.openbsd.org 2002/06/05 16:48:54Ben Lindstrom2002-06-061-42/+55
| | | | | | [ssh-agent.c] copy current request into an extra buffer and just flush this request on errors, ok provos@
* - markus@cvs.openbsd.org 2002/06/05 16:08:07Ben Lindstrom2002-06-061-10/+21
| | | | | | [ssh-agent.1 ssh-agent.c] '-a bind_address' binds the agent to user-specified unix-domain socket instead of /tmp/ssh-XXXXXXXX/agent.<pid>; ok djm@ (some time ago).
* - (bal) Too many <sys/queue.h> issues. Remove all workarounds andBen Lindstrom2002-04-051-6/+1
| | | | using internal version only.
* - markus@cvs.openbsd.org 2002/04/02 11:49:39Ben Lindstrom2002-04-021-2/+2
| | | | | | [ssh-agent.c] check $SHELL for -k and -d, too; http://bugzilla.mindrot.org/show_bug.cgi?id=199
* - markus@cvs.openbsd.org 2002/03/25 17:34:27Ben Lindstrom2002-03-261-57/+41
| | | | | [scard.c scard.h ssh-agent.c ssh-keygen.c ssh.c] change sc_get_key to sc_get_keys and hide smartcard details in scard.c
* - rees@cvs.openbsd.org 2002/03/21 22:44:05Ben Lindstrom2002-03-221-5/+9
| | | | | [authfd.c authfd.h ssh-add.c ssh-agent.c ssh.c] Add PIN-protection for secret key.
* whitespace syncKevin Steves2002-03-051-1/+0
|
* - stevesk@cvs.openbsd.org 2002/03/04 17:27:39Ben Lindstrom2002-03-051-3/+1
| | | | | | | | | | | [auth-krb5.c auth-options.h auth.h authfd.h authfile.h bufaux.h buffer.h channels.h cipher.h compat.h compress.h crc32.h deattack.c getput.h groupaccess.c misc.c mpaux.h packet.h readconf.h rsa.h scard.h servconf.h ssh-agent.c ssh.h ssh2.h sshpty.h sshtty.c ttymodes.h uuencode.c xmalloc.h] $OpenBSD$ and RCSID() cleanup: don't use RCSID() in .h files; add missing RCSID() to .c files and remove dup /*$OpenBSD$*/ from .c files. ok markus@
* - stevesk@cvs.openbsd.org 2002/02/05 15:50:12Damien Miller2002-02-081-14/+14
| | | | | | [ssh-agent.c] use log interface and remove perror() in child. use fatal_add_cleanup() vs. atexit(). ok mouring@ markus@
* - stevesk@cvs.openbsd.org 2002/02/04 00:53:39Damien Miller2002-02-051-6/+2
| | | | | [ssh-agent.c] unneeded includes
* - (djm) Use local sys/queue.h if necessary in ssh-agent.cDamien Miller2002-01-221-1/+7
|
* - stevesk@cvs.openbsd.org 2002/01/18 18:14:17Damien Miller2002-01-221-3/+3
| | | | | [authfd.c bufaux.c buffer.c cipher.c packet.c ssh-agent.c ssh-keygen.c] unneeded cast cleanup; ok markus@