Permalink
Commits on Jun 27, 2017
  1. Merge pull request #50 from vuori/feature/weasel-pageant-to-readme

    cuviper committed on GitHub Jun 27, 2017
    README: added weasel-pageant link.
Commits on Jan 17, 2016
  1. Compact shell docs, and change "-S c" to "-S csh"

    cuviper committed Jan 17, 2016
    Unrecognized -S values are also now an error.
Commits on Jan 11, 2016
Commits on Jan 9, 2016
  1. shell output command selection is now done using "-S SHELL" option

    Copperis committed Jan 1, 2016
    added ability to select fish shell
Commits on Aug 1, 2015
  1. Add a fallback socket detection for MSYS

    cuviper committed Aug 1, 2015
    MSYS's S_ISSOCK is broken, but we can examine the contents of the "file"
    to decide for ourselves if a path represents a socket.
    
    CLoses GH-31.
Commits on Jul 10, 2015
  1. Merge pull request #35 from sschuberth/master

    cuviper committed Jul 10, 2015
    README: Add MSYS2 installation instructions using pacman
Commits on Jul 9, 2015
Commits on Feb 20, 2015
  1. Merge pull request #30 from maehne/msys2-fix

    cuviper committed Feb 20, 2015
    Fix compilation errors in the MSYS2 shell environment.
Commits on Feb 19, 2015
Commits on Jan 27, 2015
  1. Clean up manpage hyphens vs. ASCII minus

    cuviper committed Jan 27, 2015
    I haven't seen this matter in practice, but since it was already
    escaping ASCII minus in some places, it's good to be consistent.
    
    See also https://lintian.debian.org/tags/hyphen-used-as-minus-sign.html
  2. Update ssh-pageant.1

    darren-henderson committed with cuviper Jan 26, 2015
    Added a caveat to save a bit of confusion for users who invoke ssh-add
    with the -t option.
Commits on Nov 23, 2014
  1. Prepare release 1.4

    cuviper committed Nov 23, 2014
    - MSYS support.
    - More robust handling of socket paths.
  2. README.md: mention MSYS support

    cuviper committed Nov 23, 2014
  3. Force bind on POSIX paths to let acls work

    cuviper committed Nov 23, 2014
    Cygwin applies a "noacl" mount option to all DOS paths, which means the
    socket bind doesn't apply the umask to its creation.  Convert everything
    explicitly to POSIX before binding to make sure the socket is mode 0600.
    
    Closes GH-24.
Commits on Nov 11, 2014
  1. Escape SSH_AUTH_SOCK for safe shell eval

    cuviper committed Nov 11, 2014
    Add a new function shell_escape() which unconditionally wraps an entire
    string in single quotes, breaking out with '\'' when the string contains
    single quotes itself.
    
    Use shell_escape() when printing the shell command for SSH_AUTH_SOCK.
    
    Closes GH-23.
Commits on Nov 5, 2014
  1. Polish compat.h edge cases

    cuviper committed Nov 5, 2014
    - mkdtemp: Use the returned path for mkdir, likely the same anyway.
    - strlcpy: Check the size before writing the zero terminator.
    - accept4: Set an error if unsupported flags are used.
    
    None of these problems are present in the way ssh-pageant uses them, but
    it's better to be safe.
Commits on Nov 2, 2014
  1. Add compatibility wrappers for the MSYS runtime

    cuviper committed Nov 2, 2014
    It should be possible to build ssh-pageant on MSYS, but since that's
    basically an old snapshot of Cygwin, it's missing some modern
    functionality.
    
    Introduce compat.h with the following wrappers:
    - program_invocation_short_name
    - err(), errx(), warn(), warnx()
    - mkdtemp()
    - strlcpy()
    - SOCK_CLOEXEC in accept4() and socket()
    
    This should have zero net effect on Cygwin builds.
Commits on Nov 1, 2014
Commits on Sep 16, 2013
  1. Merge pull request #20 from sun/readme

    cuviper committed Sep 16, 2013
    Improved readme, installation instructions, and documentation.
Commits on Sep 2, 2013
  1. Merge pull request #19 from sun/docs

    cuviper committed Sep 2, 2013
    Improve installation instructions
Commits on Sep 1, 2013
Commits on Jun 23, 2013
  1. Change the home URL to use cuviper.github.io

    cuviper committed Jun 23, 2013
    The old cuviper.github.com still works, but is now a redirect.
    See https://github.com/blog/1452-new-github-pages-domain-github-io
  2. Prepare release 1.3

    cuviper committed Jun 23, 2013
    A few bugfixes since 1.2, and featuring the new --reuse option.
Commits on Mar 23, 2013
  1. Prefer UNIX_PATH_MAX over UNIX_PATH_LEN

    cuviper committed Mar 23, 2013
    Cygwin used to define UNIX_PATH_LEN, but in cygwin-1_7_18-release and
    cygwin-64bit-branch, sys/un.h renamed to MAX to follow Linux. (CVS r1.7)
    
    This commit will be pushed using 64-bit ssh-pageant, proving that all is
    well here for cygwin64.  For the adventurous, it also does work to let
    cygwin64 processes talk to cygwin32 ssh-pageant, and vice versa, as long
    as you reconcile their different filesystem mounts in SSH_AUTH_SOCK.
Commits on Feb 24, 2013
  1. Add -r/--reuse to test for an existing socket

    cuviper committed Feb 24, 2013
    This probes with connect() to see if the given socket is listening, and
    if so just assumes that an agent is already alive.  If not, it tries to
    start itself as normal.
    
    Closes GH-18.
  2. Document -t as not supported by Pageant

    cuviper committed Feb 24, 2013
    ... rather than calling it not implemented.  This wording was already in
    the manpage, but now it's in --help and the usage warning too.
  3. Use SOCK_CLOEXEC on all relevant file descriptors

    cuviper committed Feb 24, 2013
    SOCK_CLOEXEC has been available since Cygwin 1.7.2, so use it on the
    main socket and each accepted connection (now accept4).
    
    Test: ssh-pageant ls -l /proc/self/fd