libcanlock
A standalone RFC 8315 Netnews Cancel-Lock implementation for Unix.
-
2026-07-07: libcanlock 3.3.3 is now available
Replace CC0 license with NLPL license for documentation files
because Fedora project does not accept CC0 for documentation
(reported by Dominik 'Rathann' Mierzejewski).
See ChangeLog for the complete list.
-
2026-07-04: libcanlock 3.3.2 is now available
Bugfix: canlock-hp: Define parameter list for strip_body()
as "void" (Patch from Dennis Preiser).
Bugfix: Modified declaration of RFC5869HkdfResult() in header
to match the function definition.
Bugfix: Modified definition of RFC2104HmacResult() to match
the function declaration in header.
Add support for C23 memset_explicit() to cl_clear_secret().
Document that canlock-hp subpackage requires an US-ASCII
based POSIX locale (EBCDIC is not supported).
Add SPDX copyright and license identifiers for all files of
the source tree. Note that the license terms are unchanged
for all files that already contained such identifiers.
Some documentation files (like "README" and "ChangeLog")
formerly had neither copyrights nor licenses assigned.
No copyright and CC0-1.0 license are declared now.
Package is
REUSE 3.3
conformant (according to "reuse lint").
See ChangeLog for the complete list.
-
2026-05-25: Link to FreeBSD package page added
(thanks to Kevin Bowling)
-
2026-05-25: Link to Fedora package page added
(thanks to Dominik 'Rathann' Mierzejewski)
-
2024-05-11: libcanlock 3.3.1 is now available
Bugfix release for problems with pkg-config and license name.
Add path "$PREFIX/include" to pkg-config files. The subdirectory
"libcanlock-3" should be used when the header is included (as
documented).
Replace license name "MIT-like" with "ICU". Note that the license
terms are unchanged (only the name was fixed).
Add machine readable SPDX license identifiers.
See ChangeLog for the complete list.
libcanlock is a library for creating and verifying RFC 8315 Netnews
Cancel-Locks.
This implementation uses the recommended algorithm from Section 4 with
HMAC based on the same hash function as <scheme>.
See README for details.
A command line utility "canlock" is built together with the
library. Additional header parsers are available in the package
canlock-hp.
Note: canlock-hp was merged into version 3.1.0 (now part of libcanlock
package).
The original author of libcanlock is G. J. Andruk.
The new (hash algorithm independent) API is written by Dennis Preiser.
The SHA and HMAC code is taken from RFC 6234.
The Base64 code is written by Kungliga Tekniska högskolan
(Royal Institute of Technology, Stockholm, Sweden).
I (Michael Bäuerle) am the new maintainer since version 3 and have
added the command line utility and man pages.
See LICENSE for licence information.
-
POSIX.1-2001 compliant operating system with C99 compiler
(Code should be portable to other OS, POSIX is currently only
required for the Build-System, Testsuite and canlock-hp)
Read the INSTALL file in the source tree for details
Last update: 2026-07-07
michael.baeuerle@gmx.net