Commit Graph

  • 5d43b022cb Change to v1 master Lars Scheibling 2024-01-12 09:32:51 +00:00
  • c1a0f72fa1 Updated path v2.0.1 v2.0.0 2.0.1 2.0.0 Lars Scheibling 2024-01-12 09:20:18 +00:00
  • fabe599f29 Merge branch 'pam-moduler' Lars Scheibling 2024-01-12 09:14:01 +00:00
  • 6c585aed74 ci: Show coverage for all packages pam-moduler Marco Trevisan (Treviño) 2023-12-01 23:41:06 +01:00
  • 04578a00b0 README: Update how to run tests Marco Trevisan (Treviño) 2023-10-20 00:17:39 +02:00
  • 89c1e430c1 transaction: Add support for using raw binary pointers conversation handler Marco Trevisan (Treviño) 2023-11-07 14:22:43 +02:00
  • 0143d11445 transaction: Add BinaryConversationFunc adapter Marco Trevisan (Treviño) 2023-10-26 00:56:49 +02:00
  • eac1f2d85d github/test: Run tests with address sanitizer Marco Trevisan (Treviño) 2023-10-19 03:02:46 +02:00
  • 04ad7bdc73 module-transaction: Do not allow parallel conversations by default Marco Trevisan (Treviño) 2023-10-13 19:24:49 +02:00
  • ac879208ea module-transaction: Add support for binary conversations Marco Trevisan (Treviño) 2023-10-05 05:49:22 +02:00
  • 883dc86533 module-transaction: Add support for initiating PAM Conversations Marco Trevisan (Treviño) 2023-10-04 23:34:20 +02:00
  • 7a073f5ba0 module-transaction: Add support for setting/getting module data Marco Trevisan (Treviño) 2023-10-03 14:37:28 +02:00
  • 449b2672b9 module-transaction: Add GetUser() method that prompts an user if non-set Marco Trevisan (Treviño) 2023-09-29 15:13:43 +02:00
  • c1b7ee1623 tests: Add a module implementation with dynamic control from the app Marco Trevisan (Treviño) 2023-09-29 02:12:06 +02:00
  • 8c30b5946a pam-moduler: Add test that generates a new debug module and verify it works Marco Trevisan (Treviño) 2023-09-25 23:13:34 +02:00
  • 6f3af6e9b2 moduler: Move module transaction invoke handling to transaction itself Marco Trevisan (Treviño) 2023-09-25 23:08:08 +02:00
  • e0e1d2de2c transaction: Move PAM app side function only to app-transaction Marco Trevisan (Treviño) 2023-11-20 21:29:55 +01:00
  • 05f676c233 transaction, moduler: Do not export PAM conv handler function to modules Marco Trevisan (Treviño) 2023-11-20 21:09:43 +01:00
  • 4b39bd8e11 transaction: Define C functions as unexported static inlines Marco Trevisan (Treviño) 2023-11-20 21:06:58 +01:00
  • a8c4a14150 pam-moduler: Add first implementation of a Go PAM Module generator Marco Trevisan (Treviño) 2023-09-25 19:31:46 +02:00
  • f0d140c281 transaction: Properly handle nil bytes in binary transactions Marco Trevisan (Treviño) 2023-10-10 06:04:49 +02:00
  • 11daf4a88d transaction: Add ModuleTransaction type and ModuleHandler interface Marco Trevisan (Treviño) 2023-09-25 18:52:56 +02:00
  • bbc25e137c transaction: Add a transaction base type to define more transaction kinds Marco Trevisan (Treviño) 2023-09-25 18:46:03 +02:00
  • 2bda45159c Update README for v2 Michael Steinert 2023-11-30 12:49:04 -06:00
  • 30fb28f158 Merge pull request #21 from msteinert/v2 Mike Steinert 2023-11-30 12:47:56 -06:00
  • 50ded1b0e7 Update module version to v2 Michael Steinert 2023-11-30 12:41:22 -06:00
  • 6339228bcd Merge pull request #19 from msteinert/codecov Mike Steinert 2023-11-29 21:59:13 -06:00
  • 004c7008f4 Another try at adding codecov Michael Steinert 2023-11-29 21:41:05 -06:00
  • fb46dfb9da Merge pull request #18 from msteinert/codecov Mike Steinert 2023-11-29 21:39:46 -06:00
  • 64ad2183e8 Add codecov configuration Michael Steinert 2023-11-29 21:36:53 -06:00
  • 6bce85f6ba Merge pull request #17 from msteinert/update-example Mike Steinert 2023-11-29 21:17:23 -06:00
  • 4537bb5583 Update example code to call Transaction.End Michael Steinert 2023-11-29 20:59:14 -06:00
  • 4ce1d8a7e0 Merge pull request #15 from 3v1n0/safer-transaction Mike Steinert 2023-11-29 20:08:15 -06:00
  • 067f634acb transaction: Fix comment typo Marco Trevisan (Treviño) 2023-11-20 21:15:43 +01:00
  • e6f817312a transaction: Skip some tests requiring confdir if not available Marco Trevisan (Treviño) 2023-09-29 20:28:22 +02:00
  • 01f62f11f7 transaction_test: Add tests checking the loaded services match Marco Trevisan (Treviño) 2023-09-22 14:56:36 +02:00
  • 31a452ad25 transaction: Add missing default PAM item types Marco Trevisan (Treviño) 2023-10-25 21:03:57 +02:00
  • fe75bbaeee transaction: Mark Item, Flags and Style const values as Item, Flags and Style types Marco Trevisan (Treviño) 2023-10-10 11:45:12 +02:00
  • c7ecbf20dc transaction: Add a test finalizer checking if transaction has ended Marco Trevisan (Treviño) 2023-10-11 23:09:04 +02:00
  • c635cfc38a transaction: Add End() method and Remove Transaction finalizer Marco Trevisan (Treviño) 2023-10-11 22:36:28 +02:00
  • 7162004668 transaction: Do not make Transaction to implement error interface anymore Marco Trevisan (Treviño) 2023-10-11 12:21:35 +02:00
  • adffdfbbdc transaction: Never return Transaction as error Marco Trevisan (Treviño) 2023-10-11 12:16:59 +02:00
  • 911a346a00 transaction: Use Atomic to store/load the status Marco Trevisan (Treviño) 2023-09-29 23:01:50 +02:00
  • 3e4f7f5e4b transaction: Add an helper function to handle pam functions return status Marco Trevisan (Treviño) 2023-10-11 10:25:42 +02:00
  • a5f5ad6470 transaction: Return errors wrapping pam.Error values on failure Marco Trevisan (Treviño) 2023-09-25 13:44:45 +02:00
  • ea51cc0fe4 transaction: Add tests for all the possible Status (and error) values Marco Trevisan (Treviño) 2023-09-22 18:26:02 +02:00
  • 6bb315c571 transaction: Add PAM Error types Go definitions Marco Trevisan (Treviño) 2023-09-22 16:59:03 +02:00
  • 44c364e364 ci: Use golang-ci linter Marco Trevisan (Treviño) 2023-11-07 11:51:27 +02:00
  • a85a609bbe Run go fmt Michael Steinert 2023-09-23 10:38:09 -05:00
  • 2e7b8b76d5 Merge pull request #9 from 3v1n0/binary-protocol Mike Steinert 2023-09-22 09:16:15 -05:00
  • b9265b1c6a transaction: Add support for Binary conversation Marco Trevisan (Treviño) 2023-09-19 20:51:45 +02:00
  • 08dbc65c91 Merge pull request #11 from msteinert/transaction Mike Steinert 2023-09-21 08:27:18 -05:00
  • b324e2b31b bugfix: Allocate after sanitizing inputs Michael Steinert 2023-09-21 08:12:18 -05:00
  • df9e70a6d7 Format transaction.c with clang-format Michael Steinert 2023-09-21 08:11:19 -05:00
  • d9b3ff918f Merge pull request #10 from msteinert/ci-matrix Mike Steinert 2023-09-20 19:25:24 -05:00
  • 736c9ebebe Update CI configuration Michael Steinert 2023-09-20 19:22:43 -05:00
  • e0a2c7ba60 Merge pull request #8 from 3v1n0/simpler-callbacks Mike Steinert 2023-09-20 08:54:38 -05:00
  • 718a0b9deb Merge pull request #7 from 3v1n0/rootless-tests Mike Steinert 2023-09-20 08:46:09 -05:00
  • 4851b5d1fc transaction: Add support for Binary conversation Marco Trevisan (Treviño) 2023-09-19 20:51:45 +02:00
  • 78ffef4acd transaction: Use cgo.Handle to pass callback data to PAM Marco Trevisan (Treviño) 2023-09-19 20:04:06 +02:00
  • 8fd6202a7b transaction: Use cgo.Handle to pass callback data to PAM Marco Trevisan (Treviño) 2023-09-19 20:04:06 +02:00
  • a22a1abf3f transaction_test: Add root-less tests to check pam conversation Marco Trevisan (Treviño) 2023-09-19 18:40:17 +02:00
  • 1cab6e699c transaction_test: Add more authentication tests to run as user Marco Trevisan (Treviño) 2023-09-19 18:21:03 +02:00
  • ca3e79e605 transaction_test: Enable conf-dir tests without root Marco Trevisan (Treviño) 2023-09-19 18:18:56 +02:00
  • d0c0c8bf18 tests: Move services to a subdirectory Marco Trevisan (Treviño) 2023-09-19 18:17:54 +02:00
  • 5253f659f3 Merge pull request #6 from msteinert/deps Mike Steinert 2023-04-04 15:44:11 -05:00
  • 2c8b026146 Update dependencies Michael Steinert 2023-04-04 15:44:38 -05:00
  • 313ea6f3ba Merge pull request #5 from didrocks/start_confdir Mike Steinert 2022-09-17 16:16:24 -05:00
  • 376af17c46 Integration test for confdir handling. Didier Roche 2022-09-16 08:49:02 +02:00
  • bc958bdbd7 Allow to define confdir Didier Roche 2022-09-16 08:09:26 +02:00
  • f401703daf Update CI build matrix Michael Steinert 2022-08-03 16:07:21 -05:00
  • 39406aafe4 Attempt to modernize the repo Michael Steinert 2021-12-03 11:48:12 -06:00
  • e613721261 Update CI build matrix Michael Steinert 2020-11-30 11:06:47 -06:00
  • 913b8f8cdf Merge pull request #3 from andy-js/solaris-fix Mike Steinert 2020-08-10 15:48:41 -05:00
  • b29ac23417 Fix build on Solaris Andrew Stormont 2020-08-07 17:34:46 +01:00
  • f29b9f28d6 Update CI build matrix & fix some lint Michael Steinert 2019-02-15 12:06:59 -06:00
  • f4cd9f5e29 Update CI build matrix Michael Steinert 2017-08-30 10:59:15 -05:00
  • 2c288b3ef8 Merge pull request #2 from msteinert/skip-coverage Mike Steinert 2017-07-05 09:26:45 -05:00
  • 1a9eb8fe8b Skip coverage report for pull requests Michael Steinert 2017-07-05 09:18:20 -05:00
  • db23a9ef3f Update CI build matrix Michael Steinert 2017-06-12 11:01:45 -05:00
  • 02ccfbfaf0 [ci skip] Update documentation Michael Steinert 2015-12-04 10:05:44 -06:00
  • 1d0c8bc60c Fix lint Michael Steinert 2015-12-04 09:46:42 -06:00
  • 7f5fc62ba4 Remove dead code Michael Steinert 2015-12-04 09:21:38 -06:00
  • 4314ed7dcc Update example code Michael Steinert 2015-12-04 09:21:17 -06:00
  • a245f1098c Fix a memory leak Michael Steinert 2015-12-04 09:03:39 -06:00
  • 8ec1202046 Stop passing Go pointers to C Michael Steinert 2015-12-03 14:59:51 -06:00
  • 6534f23b39 [ci skip] Update link to official documentation Michael Steinert 2015-09-03 15:12:29 -05:00
  • 9a42d39dbf Update example Michael Steinert 2015-04-10 23:36:35 -05:00
  • 8b3b6781b0 Test some failure conditions Michael Steinert 2015-04-10 15:28:23 -05:00
  • d5d607bc17 Add Go Report Card badge Michael Steinert 2015-04-10 15:11:06 -05:00
  • 61a0e177d2 Fix golint warnings Michael Steinert 2015-04-10 15:04:52 -05:00
  • b60415a968 Another stab at goveralls Michael Steinert 2015-04-09 13:52:12 -05:00
  • 7ad21d5bbc Add Coveralls.io Michael Steinert 2015-04-09 13:44:52 -05:00
  • 9d2ea3b16d Install cover before running tests Michael Steinert 2015-04-09 13:16:32 -05:00
  • b4414b73f0 Improve test coverage Michael Steinert 2015-04-09 11:37:39 -05:00
  • c88b34e980 Add 2-clause BSD license Michael Steinert 2015-04-01 21:53:38 -05:00
  • df889e55a6 Security fixes for conversation handler Michael Steinert 2015-03-31 12:19:55 -05:00
  • 767cadc80c Small documentation updates Michael Steinert 2015-03-30 19:16:13 -05:00
  • 8fad614175 Test coverage for SetItem/GetItem Michael Steinert 2015-03-30 18:26:47 -05:00
  • 3215d873b9 This looks a bit better Michael Steinert 2015-03-30 18:20:09 -05:00