Re: patch to send incoming key to AuthorizedKeysCommand via stdin

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue, 03 Jun 2014 at 22:32:40, Scott Duckworth wrote:
> On Tue, Jun 3, 2014 at 3:32 PM, Lukas Fleischer <info@xxxxxxxxxxxxxx> wrote:
> 
> > I wonder if there is a way to obtain a textual representation of the key
> > without writing it to a temporary file, though?
> >
> 
> Agreed, that would be better.  If anybody knows how to do this please chime
> in.

If there isn't a function to do that already, you could factor out the
code to build the textual representation and move it to a new function
that writes the representation to a buffer (or returns it as a pointer
to a newly allocated "string"). Then, key_write() would simply become a
wrapper around that function.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux