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, andhex(same asadvanced, but numbers in hex instead of base64). pick your aesthetic ๐-w,--width=widthโ Limit output to lines of width characters (has no effect oncanonicalsyntax). 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 ๐
๐ฆ where this page comes from
- debian bookworm: nettle-bin 3.8.1-2
- debian trixie: nettle-bin 3.10.1-1
- ubuntu jammy: nettle-bin 3.7.3-1build2
- ubuntu noble: nettle-bin 3.9.1-2.2build1
- ubuntu noble: nettle-bin 3.9.1-2.2build1.1
- ubuntu questing: nettle-bin 3.10.1-1
- ubuntu resolute: nettle-bin 3.10.2-1
- ubuntu stonking: nettle-bin 3.10.2-1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms