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