SEXP-CONV(1)

๐Ÿ’– SEXP-CONV ๐Ÿ’–

okay bestie, welcome to the sexp-conv(1) page from the Nettle tools era โœจ it's giving "tiny utility, big personality" and we're gonna get you fluent, fr fr.


๐ŸŒธ NAME ๐ŸŒธ

sexp-conv โ€” convert s-expression to a different encoding ๐Ÿฆ‹


โœจ SYNOPSIS โœจ

Conversion: like, the classic move ๐Ÿ’…

sexp-conv [OPTION]...  < INPUT-SEXP

Fingerprinting: when you just want the ~vibe~ of it ๐Ÿ‘‘

sexp-conv --hash[=algorithm] [OPTION]...  < INPUT-SEXP

๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

So this manual page documents the sexp-conv command, but only briefly โ€” just a lil taste. This page was written for the Debian GNU/Linux distribution because the original program does not have a manual page, which is honestly such a mood ๐Ÿ˜ญ. Instead, it has documentation in the GNU Info format; see below, bestie.

sexp-conv is a program that converts S-expressions. It automatically detects the s-expression syntax variant of the input โ€” no cap, it just knows ๐Ÿ”ฎ. It is primarily used by the lsh packages, which stores keys and most other objects on disk in that format, but may be of other use as well. iconic behaviour honestly ๐Ÿ’…


๐ŸŽ€ OPTIONS ๐ŸŽ€

This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. okay here we go, the full lineup ๐ŸŒˆ

  • --hash=algorithm โ€” Output only the hash of the s-expression, using algorithm (default: sha1). Just the fingerprint, nothing else ๐Ÿซถ
  • --raw-hash โ€” Alias for --hash, for compatibility with lsh 1.x. legacy support queen ๐Ÿ‘‘
  • --once โ€” Process exactly one s-expression. one and done, periodt โœ‹
  • --spki-hash โ€” Output an SPKI hash for the object. Not yet implemented ๐Ÿ™ˆ so like, don't hold your breath
  • -s, --syntax=format โ€” Variant of S-expression to output. Valid S-expression formats are: transport, canonical (binary), advanced, and hex (same as advanced, but numbers in hex instead of base64). pick your aesthetic ๐Ÿ’…
  • -w, --width=width โ€” Limit output to lines of width characters (has no effect on canonical syntax). Zero means no limit. wrap it up or let it run wild ๐ŸŒธ
  • -?, --help โ€” Show summary of options. the girlies love a cheat sheet โœจ
  • -V, --version โ€” Show version of program. ๐Ÿ’–

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

ssh-conv(1), lsh(1), lshd(8), http://theworld.com/~cme/spki.txt. The programs are documented fully by the sexp section under the Getting Started header of the lsh info page, available via the Info system. go read the lore ๐Ÿ“š


๐Ÿ’€ BUGS ๐Ÿ’€

This program should be documented in the nettle manual, not in the lsh manual. like, it's literally right there, the wrong-house energy is real ๐Ÿ˜ญ


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

This manual page was originally written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others). Edited by Magnus Holmgren <magnus@kibibyte.se>. shoutout to the originators ๐Ÿซถโœจ


and that's the whole page, bestie โ€” this was nettle 1.15, dated June 2007, so yes she's vintage and she still ate ๐Ÿ’…๐Ÿ’– mwah, go convert some s-expressions, ily ๐ŸŽ€