canlock(1) | canlock 3.1.0 manual | canlock(1) |
canlock - CLI frontend for libcanlock library
canlock -h | -v
canlock [-q] -o
canlock [-a scheme] -l [uid]mid
canlock [-a scheme] -k [uid]mid
canlock [-q] -c key,lock
Command line utility for Netnews Cancel-Lock authentication scheme.
canlock can be used to create <c-lock> and <c-key> elements according to RFC8315. The secret data is read from standard input (using EOF for termination).
canlock also provides a verify interface with the -c
option. An external header parser is required to extract the <c-key>
and <c-lock> elements from the article headers.
The command line utilities canlock-mhp(1) and canlock-hfp(1) can
be used for this purpose.
The following options are supported:
If this option is not present, sha256 is used as default value (because this is the mandatory algorithm defined by RFC8315).
The result is a <c-lock> element.
The result is a <c-key> element.
Only valid if specified before -c and -o options.
The exit status is zero if cl_clear_secret(3) returned zero.
Zero on success or regular exit respectively.
All other values indicate an error.
Michael Baeuerle
Report bugs to <mailto:michael.baeuerle@gmx.net>.
canlock tries to comply with the following standards:
RFC5537, RFC6234, RFC8315
canlock-hfp(1), canlock-mhp(1),
cl_clear_secret(3), cl_get_lock(3), cl_get_key(3),
cl_split(3), cl_verify(3)
http://en.wikipedia.org/wiki/Usenet
2019-01-31 | Unix |