[Bug 1869] New: ssh-add can no longer read from FIFOs as of 5.7p1

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Feb 24 14:20:57 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1869

           Summary: ssh-add can no longer read from FIFOs as of 5.7p1
           Product: Portable OpenSSH
           Version: 5.8p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh-add
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: dkg at fifthhorseman.net


Created attachment 2001
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2001
allow ssh-add to read from FIFOs

It looks like ssh-add can no longer read from FIFOs as of 5.7p1 (since
the switch from PEM_read_PrivateKey() to PEM_read_bio_PrivateKey(), and
reading the file into an ssh buffer directly).

Being able to read from a FIFO is nice for tools that don't want to put
keys directly on the filesystem.  In fact, we were relying on that
behavior for the monkeysphere, and it's currently breaking because of
the change:

 https://labs.riseup.net/code/issues/2735

The attached patch fixes things so that ssh-add can read from a FIFO
again.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list