Hi,
I've tried to hack a small program converting ssh2 keyfiles to
s-expressions. Currently I began doing this using read_line chained to a
custom line_handler, which then processes line by line. While looking
through the sexp_streamed_parser.c module, I found that some classes would
be usable for me as well (parser, parse_value and the base64 decoder), but
those would have to be made a bit more general and moved to a general
module. What do you think?
btw: the ssh2 keyfile format is a simple base64 encoded form of the ssh2
keyblob as the protocol draft defines it, coupled with some comments.
--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
url: http://www.balabit.hu/pgpkey.txt