Commit graph

53 commits

Author SHA1 Message Date
Dag-Erling Smørgrav
054bb5578c wip 2022-10-02 16:38:00 +02:00
Dag-Erling Smørgrav
834040505c Disable type limit warnings on Travis.
These warnings can be triggered by defensive code and assertions, such as range checks on parameters.  I'd rather silence the warning than remove the check, even if it's optimized away.
2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
2cb49e6151 Add a couple of assertions. 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
95dd5ca993 Add cast to placate the ancient gcc used by Travis. 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
c8c85ca0b3 Conceal debugging printf()s. 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
098159c691 Uncomment a couple of assertions. 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
1e97f3c21d WIP 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
487d826d00 Fix otpradiusd linker flags. 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
d4945f9775 Add accounting attributes. 2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
be6f32b5bd Proof-of-concept RADIUS server.
It is not yet capable of handling OTP requests, but all the elements are there: it can receive and decode Access-Request messages and respond with either Access-Accept or Access-Reject.  All that remains is to refactor the guts of otpkey into libotp and plug them into otpradiusd.
2022-09-16 15:26:25 +02:00
Dag-Erling Smørgrav
a169d5aa63 Modernize and add FreeBSD port. 2022-09-16 13:48:31 +02:00
Dag-Erling Smørgrav
f8da6d5892 Update to latest Cryb release. 2019-04-03 11:58:19 +02:00
Dag-Erling Smørgrav
fa7463b958 Update to latest Cryb release. 2019-04-03 11:58:07 +02:00
Dag-Erling Smørgrav
d2b5efd41c Switch Travis to Xenial. 2019-04-03 11:58:07 +02:00
Dag-Erling Smørgrav
7fa3c6483d Missing headers. 2018-08-03 14:37:33 +02:00
Dag-Erling Smørgrav
5836c338bc Attempt to determine the correct {ACLOCAL,PKG_CONFIG}_PATH. 2018-08-03 14:25:11 +02:00
Dag-Erling Smørgrav
6bd043cac5 Move verify and resync into the library. 2018-08-03 13:50:06 +02:00
Dag-Erling Smørgrav
d5dc054392 Rename internal functions. 2018-05-16 16:54:23 +02:00
Dag-Erling Smørgrav
0a97ba8fd3 Bump version. 2018-05-13 17:11:37 +02:00
Dag-Erling Smørgrav
573227933a Update to latest version of Cryb build system. 2018-05-13 00:31:27 +02:00
Dag-Erling Smørgrav
f7e4233b4c Explicitly enable maintainer mode.
This is the default if the AM_MAINTAINER_MODE macro is not invoked, but invoking it also creates the --disable-maintainer-mode option which some automated build tools use to speed up builds from a clean tree.
2018-05-05 15:29:41 +02:00
Dag-Erling Smørgrav
12ff759ffe Debian package infrastructure. 2018-05-05 15:05:36 +02:00
Dag-Erling Smørgrav
5cc1f1949e Add missing library dependencies. 2018-04-26 22:57:52 +02:00
Dag-Erling Smørgrav
a4ace72362 Bump dates and versions. 2018-04-26 22:44:49 +02:00
Dag-Erling Smørgrav
ba746c0543 Ignore generated binaries. 2018-04-26 22:44:41 +02:00
Dag-Erling Smørgrav
284b50eda4 CLI key management tool.
This is OpenPAM's oathkey tool ported to libcryb-oath (which is itself derived from OpenPAM's liboath).  Most of its functionality will eventually move into libcryb-otp.
2018-04-26 03:23:21 +02:00
Dag-Erling Smørgrav
e4cde94086 Update ax_pkg_config macros from upstream. 2017-09-04 22:50:10 +02:00
Dag-Erling Smørgrav
df8521f768 Switch to latest cryb.to release. 2017-09-04 22:44:38 +02:00
Dag-Erling Smørgrav
bf8ed1e5ce No need to ignore non-existent mkpkgng. 2017-09-04 22:44:18 +02:00
Dag-Erling Smørgrav
04ae0a846c Replace pkg.m4 with our own pkg-config macros. 2017-05-06 02:02:42 +02:00
Dag-Erling Smørgrav
dc9ec52b82 AC_HELP_STRING was renamed to AS_HELP_STRING ages ago. 2017-05-06 01:23:49 +02:00
Dag-Erling Smørgrav
e3230eabd1 Parametrize the cryb.to version. 2017-05-02 14:25:22 +02:00
Dag-Erling Smørgrav
dba85ce06d Switch to latest cryb.to release. 2017-05-02 14:22:39 +02:00
Dag-Erling Smørgrav
328f0494a3 Remove -Wno-unused-result from configure.ac. 2017-05-02 14:19:09 +02:00
Dag-Erling Smørgrav
9edbff86a9 Switch to latest cryb.to release. 2017-04-06 22:06:45 +02:00
Dag-Erling Smørgrav
54d4eb90ec Update ax_gcc_builtin macros from upstream. 2017-03-31 13:07:31 +02:00
Dag-Erling Smørgrav
80be04ed48 Use PKG_CHECK_MODULES and PKG_HAVE_MODULES for Cryb libraries. 2017-03-22 23:18:58 +01:00
Dag-Erling Smørgrav
75fe73025a Add a PKG_HAVE_MODULES macro that does what you mean.
PKG_HAVE_MODULES is a wrapper around PKG_CHECK_MODULES which is non-fatal if the requested modules were not found and which calls AC_DEFINE and AM_CONDITIONAL as you'd expect.
2017-03-22 23:18:41 +01:00
Dag-Erling Smørgrav
eda74454db Import latest pkg.m4 from pkgconf. 2017-03-22 22:33:28 +01:00
Dag-Erling Smørgrav
02b42bca7b Build on Trusty and install the latest cryb-to snapshot. 2017-03-22 22:27:32 +01:00
Dag-Erling Smørgrav
9fc8de2e71 Switch to using a real version number. 2017-03-07 16:24:03 +01:00
Dag-Erling Smørgrav
6779d970a5 Replace pkg-config's pkg.m4 with the latest version from pkgconf. 2017-03-07 16:23:28 +01:00
Dag-Erling Smørgrav
23c871052f Remove support for a static PAM module, improving portability. 2017-03-07 16:21:26 +01:00
Dag-Erling Smørgrav
e6f26116a2 Remember to use the CFLAGS pkg-config gave us. 2017-03-07 16:20:23 +01:00
Dag-Erling Smørgrav
27ec6108ea Add / update .gitignore throughout the tree. 2017-03-07 16:17:47 +01:00
Dag-Erling Smørgrav
14ae73c0fc There is currently no reason to have a different <cryb/impl.h>. 2017-03-07 16:17:38 +01:00
Dag-Erling Smørgrav
0442e0945a Remove generated file. 2017-03-07 14:35:45 +01:00
Dag-Erling Smørgrav
77e88b40ba Include pkg.m4 from the latest version of pkg-config. 2017-03-07 02:32:05 +01:00
Dag-Erling Smørgrav
5aac818cdc Install pkg-config before building on Travis. 2017-03-07 02:31:56 +01:00
Dag-Erling Smørgrav
910b02c3d4 Start using pkg-config / pkgconf. 2017-03-07 01:33:16 +01:00