Article View: news.software.readers
Article #261975[libcanlock] Version 3
From: Michael Bäuerle
Date: Tue, 16 May 2017 20:35
Date: Tue, 16 May 2017 20:35
40 lines
2453 bytes
2453 bytes
This is a development Snapshot of libcanlock 3.0.0: <http://micha.freeshell.org/libcanlock/src/libcanlock-3.0.0pre17.tar.bz2> SHA256(libcanlock-3.0.0pre17.tar.bz2)= 5b2f7637f60517b732581753adfdd4371bc1e0f0ad4135acb38c82b8b1f8a305 General: libcanlock is a standalone Cancel-Lock implementation without external dependencies. Version 3 is based on libcanlock Version 2b from G. J. Andruk. Dennis Preiser replaced the SHA-Implementation with the one from RFC6234 section 8 and has written a new API (hash algorithm independent). I have written the command line frontend "canlock" and added a GNU autotools based build system, some new test cases (for "make test") and man pages. The API of Version 2b is emulated, but the ABI of the shared library is not compatible and the headerfile is installed in a different location (so that both versions can be installed in parallel). Every C99 compiler should be able to build the code of the library and the CLI frontend. The build system and test programs require a POSIX based operating system to work. A <c-lock> element for the example from: <https://tools.ietf.org/html/draft-baeuerle-netnews-cancel-lock-04#section-5.1> can be created with the frontend like this: | | $ printf "ExampleSecret" | canlock -l '<12345@mid.example>' | sha256:s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc= Currently tested to work on AIX, Cygwin, GNU/Linux, HP-UX, NetBSD and Solaris. More test results and bugreports are welcome. Note: Work in progress. Please use this snapshot for testing only! [Xpost and Fup2 set to news.software.nntp]
Technical Details
Message-ID:
<AABZG2KiAr8AAAFf.A1.flnews@Server1.micha.freeshell.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <AABZG2KiAr8AAAFf.A1.flnews@Server1.micha.freeshell.org> Subject: [libcanlock] Version 3 Date: Tue, 16 May 2017 20:35:46 -0000 From: Michael Bäuerle <michael.baeuerle@gmx.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp,news.software.readers Followup-To: news.software.nntp Lines: 38 Mime-Version: 1.0 X-Trace: individual.net PtFUUy8RAB+H5yW6TY4sdQORqrVutLp7rFMHNzXefVZjkNgwEP Keywords: libcanlock X-Orig-Path: not-for-mail Cancel-Lock: sha1:RUBKAA3azBCmZC6zPsAXeP5n5sU= Injection-Date: Tue, 16 May 2017 20:35:46 -0000 User-Agent: flnews/0.14 (for NetBSD) X-Received-Body-CRC: 1060135904 X-Received-Bytes: 2391