Keychain - manager for ssh-agent

NOTE: The maintainership and distribution of keychain has transferred to Daniel Robbins. The new homepage is http://www.funtoo.org/ and the source repository is now in git at http://github.com/funtoo/keychain.

Keychain is a script that provides some automation around the task of sharing a long-running ssh-agent between processes. It works on Linux, BSD, Cygwin, Tru64, HP-UX, Mac OS X, Solaris, and others. Historical tarballs and rpms can be downloaded below, and you can find the old mercurial repository here.

Downloads

Filename Date Size MD5
keychain-2.6.8-1.noarch.rpm 24-Oct-2006 15:09 39.9K 1cd745f353166df2925b508c4e26a378
keychain-2.6.8-1.src.rpm 24-Oct-2006 15:09 33.9K 55272dd59c72cb7698ff19cecf7f11b3
keychain-2.6.8.tar.bz2 24-Oct-2006 15:09 30.8K 2a23b311e438ecebed5639b568738d28
keychain-2.6.6-1.noarch.rpm 08-Sep-2006 14:48 39.7K 0e2a71eab001727eea2666774b540b85
keychain-2.6.6-1.src.rpm 08-Sep-2006 14:48 33.8K 2bfc59e71185a05f21d9669ccad10fee
keychain-2.6.6.tar.bz2 08-Sep-2006 14:48 30.7K 2e2e8a367326687067fd59d36a2debde
keychain-2.6.4-1.noarch.rpm 08-Sep-2006 12:04 39.3K f94fe245a3fe192d7aae06284848d14c
keychain-2.6.4-1.src.rpm 08-Sep-2006 12:04 33.5K 902fbb542ed23fdbf3ca4a75d842354a
keychain-2.6.4.tar.bz2 08-Sep-2006 12:04 30.4K f25409d8e34646d4c3a6bb92420e1017
keychain-2.6.3-1.noarch.rpm 07-Sep-2006 13:14 38.9K 518b14e75b2bedcb65a40a3674ed3f4d
keychain-2.6.3-1.src.rpm 07-Sep-2006 13:14 33.3K 17dcb38103b11e4d4160e4ab6ff6eca4
keychain-2.6.3.tar.bz2 07-Sep-2006 13:14 30.2K e7ffce305de50952c6e979bcf1f0c7c4
keychain-2.6.2-1.noarch.rpm 20-Mar-2006 09:16 38.7K db098738b8dce9b03c41cc3b47496a13
keychain-2.6.2-1.src.rpm 20-Mar-2006 09:16 33.1K 90ce8b5cfff4b83590f9f4fcf48f4b03
keychain-2.6.2.tar.bz2 20-Mar-2006 09:16 30.0K b20933be0fdbb0b32aa5eb7b5b082852
keychain-2.6.1-1.noarch.rpm 10-Oct-2005 12:40 38.3K 3ddcb21e7ff5161fe7ac6f7d306bab68
keychain-2.6.1-1.src.rpm 10-Oct-2005 12:40 32.8K d0fe9c1560052637f9a367b6cb48f84f
keychain-2.6.1.tar.bz2 10-Oct-2005 12:40 29.7K 408caf4fe29cd88d5684410ef896c33d
keychain-2.6.0-1.noarch.rpm 10-Oct-2005 12:22 38.2K 53dfed4386fcf692433816adb114a7fe
keychain-2.6.0-1.src.rpm 10-Oct-2005 12:22 32.8K eb4aa5fe03834f56fc667821a0224cbb
keychain-2.6.0.tar.bz2 10-Oct-2005 12:22 29.6K 4389fd1837ad01657f834789daae951d
keychain-2.5.5-1.noarch.rpm 28-Jul-2005 14:00 39.1K 20a22ea06ac57a87cecc54aab74eabe2
keychain-2.5.5-1.src.rpm 28-Jul-2005 14:00 33.7K c3ee3fa7e74e32ed760753ed68b5469d
keychain-2.5.5.tar.bz2 28-Jul-2005 14:00 30.6K 3afa5ce32a5c57e43caac82db3396aac
keychain-2.5.4.1-1.noarch.rpm 11-May-2005 18:40 38.6K ecaf61616047b54c21331d3e524a52e1
keychain-2.5.4.1-1.src.rpm 11-May-2005 18:40 33.4K e78bea1057b67487e660ac519e2336f1
keychain-2.5.4-1.noarch.rpm 11-May-2005 16:59 38.5K 2147e6556d3ae80900b189b24ae2134d
keychain-2.5.4-1.src.rpm 11-May-2005 16:59 33.3K 4ccacb05601129785f6076a461dd6f37
keychain-2.5.4.1.tar.bz2 11-May-2005 18:40 30.3K 93498f35f8d4cf1abb1941587e68076b
keychain-2.5.4.tar.bz2 11-May-2005 16:59 30.2K 1afc9dc0b0328b3628672ae5c55ccd05
keychain-2.5.3.1-1.noarch.rpm 10-Mar-2005 10:33 37.7K c5e090a0ddbe7222fd7f9327f7cafedf
keychain-2.5.3.1-1.src.rpm 10-Mar-2005 10:33 32.8K 47b9c6fef81ef477bf553c43f29a5bef
keychain-2.5.3-1.noarch.rpm 09-Mar-2005 07:22 37.7K 89a81a489b55e784fc0df8921a965845
keychain-2.5.3-1.src.rpm 09-Mar-2005 07:22 32.6K ef74ec70adcd6d3fb91ef8ae43346fa1
keychain-2.5.3.1.tar.bz2 10-Mar-2005 10:33 29.6K 7eb5e5c4b1aa197e60ff9bea2e39b44a
keychain-2.5.3.tar.bz2 09-Mar-2005 07:22 29.5K c72b37b2e3d26d3e897d1d215184efee
keychain-2.5.2-1.noarch.rpm 07-Mar-2005 06:17 37.5K 29879c13d122fd5082e556791dcacc74
keychain-2.5.2-1.src.rpm 07-Mar-2005 06:17 32.5K 8e52e3e7672ee3408dd8432658f6b16d
keychain-2.5.2.tar.bz2 07-Mar-2005 06:17 29.4K 24095ae2d4feed6c9062b499684eb9df
keychain-2.5.1-1.noarch.rpm 12-Jan-2005 14:18 37.1K 76d54f443204061f8beeeb7e9423a24f
keychain-2.5.1-1.src.rpm 12-Jan-2005 14:18 32.3K e86e7ca15f2a846cb021ea67d67d400a
keychain-2.5.1.tar.bz2 12-Jan-2005 14:18 29.1K 1914e964bcc934867c9221612577d7c1
keychain-2.5.0-1.noarch.rpm 07-Jan-2005 18:02 37.0K cb059a6393d694c855f1e079f820b014
keychain-2.5.0-1.src.rpm 07-Jan-2005 18:02 32.1K 508796e5259c65019a94ab06d2848ffc
keychain-2.5.0.tar.bz2 07-Jan-2005 18:02 29.0K d0c9b788c63c13d76beb89955967a785
keychain-2.4.3-1.noarch.rpm 17-Nov-2004 19:09 34.7K f8b251f4afbecd99a6d95607c257759c
keychain-2.4.3-1.src.rpm 17-Nov-2004 19:09 30.3K a5152658f4e971d2352c1b0428888a00
keychain-2.4.3.tar.bz2 17-Nov-2004 19:09 27.2K 0036dd3baad6cd25486f539b39e081c5
keychain-2.4.2.1-1.noarch.rpm 30-Sep-2004 11:43 34.3K c20d810583014bd6dc5394ac5f90876f
keychain-2.4.2.1-1.src.rpm 30-Sep-2004 11:43 30.0K 57bdcb55d7b9e6cbfddb93bbeb7fe8ad
keychain-2.4.2-1.noarch.rpm 29-Sep-2004 21:12 34.2K 217567a42eab023fc47fc976ad8eaacc
keychain-2.4.2-1.src.rpm 29-Sep-2004 21:12 30.0K a67d25eec3dbf669a407f962fa9820d4
keychain-2.4.2.1.tar.bz2 30-Sep-2004 11:49 26.9K 38d851edf4e1fae518d763e835b9dc43
keychain-2.4.2.tar.bz2 29-Sep-2004 21:13 26.9K 8a9c20a8404e086b8c1359e234463cf8
keychain-2.4.1-1.noarch.rpm 22-Sep-2004 18:18 33.4K 7a29a538eb860d48d103e594a40af505
keychain-2.4.1-1.src.rpm 22-Sep-2004 18:18 29.0K 9f96fa29d2344719cb918ede28827572
keychain-2.4.1.tar.bz2 22-Sep-2004 18:18 25.8K b9f8edaabc429a61adf44835ec8dfcc7
keychain-2.4.0-1.noarch.rpm 04-Oct-2004 14:33 32.8K c5477fca5996c1bbb73701c6d1e54cc7
keychain-2.4.0-1.src.rpm 04-Oct-2004 14:33 28.5K ceb924068bb6cc8e21367d93b36dca60
keychain-2.4.0.tar.bz2 09-Sep-2004 20:14 25.2K 9fc2dfe8928891fa049416047be7ad53
keychain-2.3.5-1.noarch.rpm 29-Jul-2004 08:19 31.3K fe4e58ac79db053751831c3778ea93d4
keychain-2.3.5-1.src.rpm 29-Jul-2004 08:19 27.2K b523f25bd35fe25dcef0fc5e34e3d361
keychain-2.3.5.tar.bz2 29-Jul-2004 08:19 24.0K 20a1d24878331dd9f16e45345f89f7ee
keychain-2.3.4-1.noarch.rpm 24-Jul-2004 20:26 31.1K 144bb93d1e314727f92a907540ec41b1
keychain-2.3.4-1.src.rpm 24-Jul-2004 20:26 27.1K 7413131378da9dd6fd17d3f69afe58f9
keychain-2.3.3-1.noarch.rpm 30-Jun-2004 20:38 31.1K eab2308cf8de053ca32000b04a9667df
keychain-2.3.3-1.src.rpm 30-Jun-2004 20:38 27.0K 41f49f3eb077fd09aea14a5377a248f3
keychain-2.3.3.tar.bz2 30-Jun-2004 20:29 23.8K ccd9b8cc278696ac0ae8f8ebedbe23d9
keychain-2.3.2-1.noarch.rpm 16-Jun-2004 19:46 30.3K fc8386017eb0908ec68621fb49b2cbf8
keychain-2.3.2-1.src.rpm 16-Jun-2004 19:46 26.2K 0f80558b89f540d525cef7d57ea4543a
keychain-2.3.2.tar.bz2 16-Jun-2004 19:32 23.0K 85ae6eba80824da37ff612f5e0ca1851
keychain-2.3.1-1.noarch.rpm 03-Jun-2004 16:13 30.3K 8f7ac00c91339e9163e63265df843416
keychain-2.3.1-1.src.rpm 03-Jun-2004 16:13 26.2K 239b7d08e623834cb2b248ccb23ee81a
keychain-2.3.1.tar.bz2 03-Jun-2004 16:12 23.0K 2fd73a0c89fe23aa5eb49034d790cb5a
keychain-2.3.0-1.noarch.rpm 20-May-2004 18:34 30.1K 1880cd6427c1644fdd6207185ddded32
keychain-2.3.0-1.src.rpm 20-May-2004 18:34 26.1K 74e1104f56ffc164165cbb4a6efc27ae
keychain-2.3.0.tar.bz2 20-May-2004 18:35 22.8K cc788105584351511e6202f97b8e1b2a
keychain-2.2.2-1.noarch.rpm 20-May-2004 18:34 29.3K a24a773b881151719e6d1ee3438bcea0
keychain-2.2.2-1.src.rpm 20-May-2004 18:34 24.9K 2c0e44702bf58f6ad1433ecdc226933c
keychain-2.2.2.tar.bz2 20-May-2004 18:35 21.4K a5380def36905961e69a14b578c8ae42
keychain-2.2.0-1.noarch.rpm 20-May-2004 18:34 29.0K cb93676d077af7c7d031faaafd30d897
keychain-2.2.0-1.src.rpm 20-May-2004 18:34 24.5K f508c91bc86543c08a4d6d6088a9ef3f
keychain-2.2.0.tar.bz2 20-May-2004 18:35 21.2K 423fc69592f048985d265b2ef927dce4
keychain-2.0.3.tar.bz2 21-Apr-2004 20:03 16.1K 1183410bac4a747cd9ae483a1f24b7c5
keychain-2.0.2-1.noarch.rpm 21-Apr-2004 20:03 12.6K 5c26f5dce97818cacb4e183c2ea90f30
keychain-2.0.2-1.src.rpm 21-Apr-2004 20:03 13.1K 7388100d7769fb6ab80f3621439bcc71

Changelog

  • keychain 2.6.8 (24 Oct 2006)

    Save LC_ALL for gpg invocation so that pinentry-curses works. This affected peper and kloeri, though it seems to work for me in any case.

  • keychain 2.6.7 (24 Oct 2006)

    Prevent gpg_listmissing from accidentally loading keys

  • keychain 2.6.6 (08 Sep 2006)

    Make --lockwait -1 mean forever. Previously 0 meant forever but was undocumented. Add more locking regression tests #137981

  • keychain 2.6.5 (08 Sep 2006)

    Break out of loop when empty lockfile can't be removed #127471. Add locking regression tests: 100_lock_stale 101_lock_held 102_lock_empty 103_lock_empty_cant_remove

  • keychain 2.6.4 (08 Sep 2006)

    Add validinherit function so that validity of SSH_AUTH_SOCK and friends can be validated from startagent rather than up front. The advantage is that warning messages aren't emitted unnecessarily when --inherit *-once. Fix --eval for fish, and add new testcases: 053_start_with_--eval_ksh 054_start_with_--eval_fish 055_start_with_--eval_csh

  • keychain 2.6.3 (07 Sep 2006)

    Support fish: http://roo.no-ip.org/fish/ Thanks to Ilkka Poutanen for the patch.

  • keychain 2.6.2 (20 Mar 2006)

    Add --confirm option and corresponding regression tests for Debian bug 296382. Thanks to Liyang HU for the patch. Also add initialization for $ssh_timeout which was being inherited from the environment and add regression tests for --timeout

  • keychain 2.6.1 (10 Oct 2005)

    Change "unset evalopt" to "evalopt=false" and run through *all* the regression tests instead of just the new ones. *sigh*

  • keychain 2.6.0 (10 Oct 2005)

    Add the --eval option which makes keychain startup easier. See the man-page for examples. Get rid of the release notes from README, so now this file is where changes are tracked.

  • keychain 2.5.5 (28 Jul 2005)

    Add the --env option and automatic reading of .keychain/env. This allows variables such as PATH to be overridden for peculiar environments

  • keychain 2.5.4.1 (11 May 2005)

    A minor bug in 2.5.4 resulted in always exiting with non-zero status. Change back to the correct behavior of zero for success, non-zero for failure

  • keychain 2.5.4 (11 May 2005)

    Fix bug 92316: If any locale variables are set, override them with LC_ALL=C. This fixes a multibyte issue with awk that could keep a running ssh-agent from being found. Fix bug 87340: Use files instead of symlinks for locking, since symlink creation is not atomic on cygwin.

  • keychain 2.5.3.1 (10 Mar 2005)

    Fix problem introduced in 2.5.3 wrt adding gpg keys to the agent. Thanks to Azarah for spotting it.

  • keychain 2.5.3 (09 Mar 2005)

    Improve handling of DISPLAY by unsetting if blank. Call gpg with --use-agent explicitly.

  • keychain 2.5.2 (06 Mar 2005)

    Fix bug 78974 "keychain errors on Big/IP (x86 BSD variant)" by refraining from using ! in conditional expressions. Fix RSA fingerprint extraction on Solaris, reported in email by Travis Fitch. Use $HOSTNAME when possible instead of calling uname -n to improve bash_profile compatibility.

  • keychain 2.5.1 (12 Jan 2005)

    Don't accidentally inherit a forwarded agent when inheritwhich=local-once. Move the --stop warning after the version splash.

  • keychain 2.5.0 (07 Jan 2005)

    Add inheritance support via --inherit. Add parameters to --stop for more control. Change the default behavior of keychain to inherit if there's no keychain agent running ("--inherit local-once"), and refrain from killing other agents unless "--stop others" is specified.

  • keychain 2.4.3 (17 Nov 2004)

    Fix bug 69879: Update findpids to work again on BSD; it has been broken since the changes in version 2.4.2. Now we use OSTYPE (bash) or uname to determine the system type and call ps appropriately.

  • keychain 2.4.2.1 (30 Sep 2004)

    Fix minor issues in the test for existing gpg keys wrt DISPLAY

  • keychain 2.4.2 (29 Sep 2004)

    Make gpg support more complete. Allow adding keys, clearing the agent, etc. Fix --quick support to work properly again; it was broken since 2.4.0. Change default --attempts to 1 since the progs ask multiple times anyway.

  • keychain 2.4.1 (22 Sep 2004)

    Fix bugs 64174 and 64178; support Sun SSH, which is really OpenSSH in disguise and a few critical outputs changed. Thanks to Nathan Bardsley for lots of help debugging on Solaris 9

    Fix pod2man output so it formats properly on SGI systems. Thanks to Matthew Moore for reporting the problem.

  • keychain 2.4.0 (09 Sep 2004)

    Fix bug 26970 with first pass at gpg-agent support

    Fix Debian bug 269722; don't filter output of ssh-add

    Fix bug reported by Marko Myllynen regarding keychain and Solaris awk's inability to process -F'[ :]'

    Fix bug in now_seconds calculation, noticed by me.

  • keychain 2.3.5 (28 Jul 2004)

    Fix bug 58623 with patch from Daniel Westermann-Clark; don't put an extra newline in the output of listmissing

    Generate keychain.spec from keychain.spec.in automatically so that the version can be set appropriately.

  • keychain 2.3.4 (24 Jul 2004)

    Fix bug 28599 reported by Bruno Pelaia; ignore defunct processes in ps output

  • keychain 2.3.3 (30 Jun 2004)

    Fix bug reported by Matthew S. Moore in email; escape the backticks in --help output

    Fix bug reported by Herbie Ong in email; set pidf, cshpidf and lockf variables after parsing command-line to honor --dir setting

    Fix bug reported by Stephan Stahl in email; make spaces in filenames work throughout keychain, even in pure Bourne shell

    Fix operation on HP-UX with older OpenSSH by interpreting output of ssh-add as well as the error status

  • keychain 2.3.2 (16 Jun 2004)

    Fix bug 53837 (keychain needs ssh-askpass) by unsetting SSH_ASKPASS when --nogui is specified

  • keychain 2.3.1 (03 Jun 2004)

    Fix bug 52874: problems when the user is running csh

  • keychain 2.3.0 (14 May 2004)

    Rewrite the locking code to avoid procmail

  • keychain 2.2.2 (03 May 2004)

    Call loadagent prior to generating HOSTNAME-csh file so that variables are set.

  • keychain 2.2.1 (27 Apr 2004)

    Find running ssh-agent processes by searching for /[s]sh-agen/ instead of /[s]sh-agent/ for the sake of Solaris, which cuts off ps -u output at 8 characters. Thanks to Clay England for reporting the problem and testing the fix.

  • keychain 2.2.0 (21 Apr 2004)

    Rewrote most of the code, organized into functions, fixed speed issues involving ps, fixed compatibility issues for various UNIXes, hopefully didn't introduce too many bugs. This version has a --quick option (for me) and a --timeout option (for carpaski).

    Also added a Makefile and converted the man-page to pod for easier editing. See perlpod(1) for information on the format. Note that the pod is sucked into keychain and colorized when you run make.


This page was generated Sat Dec 4 12:39:21 2010.