logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sexp-conv - convert s-expression to a different encoding

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>.

nettle 1.15                                         June 2007                                       SEXP-CONV(1)

Bugs

       This program should be documented in the nettle manual, not in the lsh manual.

Description

       This  manual  page  documents briefly the sexp-conv command.  This manual page was written for the Debian
       GNU/Linux distribution because the original program does  not  have  a  manual  page.   Instead,  it  has
       documentation in the GNU Info format; see below.

       sexp-conv  is  a  program  that  converts S-expressions. It automatically detects the s-expression syntax
       variant of the input. 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.

Name

       sexp-conv - convert s-expression to a different encoding

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.

       --hash=algorithm
              Output only the hash of the s-expression, using algorithm (default: sha1).

       --raw-hash
              Alias for --hash, for compatibility with lsh 1.x.

       --once Process exactly one s-expression.

       --spki-hash
              Output an SPKI hash for the object. Notyetimplemented.-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).

       -w,--width=width
              Limit output to lines of width characters (has no effect  on  canonical  syntax).  Zero  means  no
              limit.

       -?,--help
              Show summary of options.

       -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 GettingStarted header of the lsh info
       page, available via the Info system.

Synopsis

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

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

See Also