Commit Graph

5 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño)
8c30b5946a pam-moduler: Add test that generates a new debug module and verify it works
We mimic what pam_debug.so does by default, by implementing a similar
module fully in go, generated using pam-moduler.

This requires various utilities to generate the module and run the tests
that are in a separate internal modules so that it can be shared between
multiple implementations
2023-12-14 22:07:50 +01:00
Marco Trevisan (Treviño)
a8c4a14150 pam-moduler: Add first implementation of a Go PAM Module generator
A PAM module can be generated using pam-moduler and implemented fully in
go without having to manually deal with the C setup.

Module can be compiled using go generate, so go:generate directives can be
used to make this process automatic, with a single go generate call as shown
in the example.
2023-12-14 22:07:48 +01:00
Michael Steinert
004c7008f4 Another try at adding codecov 2023-11-29 21:50:06 -06:00
Michael Steinert
39406aafe4 Attempt to modernize the repo 2021-12-03 12:05:27 -06:00
Michael Steinert
77471e65f1 Fix a silly bug and add test coverage 2015-03-30 18:13:10 -05:00