aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-17Sort the ACL membership reportRuss Allbery
In Wallet::Report, sort the results of acl_membership(). This is only used for the duplicate ACLs report currently, but it may help external callers as well as produce reliable results for testing. Patch from macrotex.
2020-05-17Fix table drop order when destroying the databaseRuss Allbery
Fix the table drop order for wallet-admin destroy to avoid violating foreign key constraints. Patch from macrotex.
2020-05-17Sort ACL history by unique key after dateRuss Allbery
If multiple ACL changes were made in the same second, the order of results could be unstable. Sort by unique key after date to avoid this. Based on work by macrotex.
2020-05-17Send remctl test output to stderrRuss Allbery
We were sending stderr to stdout for remctl output, but sometimes tests would fail because the remctl output was intermixed with the test output and confused runtests. runtests only looks at stdout for test output and sends stderr to /dev/null, so send remctl output there. This isn't a great solution since it interferes with debugging tests. The correct solution is to implement the same logging and polling that's used by C TAP Harness, although that's more difficult to do in Perl. But it should make the immediate problem go away. Continue to send the message about which remctl command line is in use to stdout, but prefix it with # so that it is a TAP comment.
2020-05-17Remove the Travis CI configurationRuss Allbery
2020-05-17Add cppcheck to CI in the gcc MIT buildRuss Allbery
2020-05-17Refresh check-cppcheck rule from rra-c-utilRuss Allbery
2020-05-17Reformat all C code with clang-format-10Russ Allbery
2020-05-17Add Clang to the CI compiler matrixRuss Allbery
2020-05-17Fix client/basic test for keytab mergingRuss Allbery
Reordering to adjust for optional srvtab support broke some assumptions in this test. Be a bit more robust by not reusing the results from a previous test.
2020-05-17Fix warnings from Clang's analyzerRuss Allbery
Suppress a warning about not declaring a function noreturn that's only noreturn in some configurations. Add an assert to unconfuse the static analyzer about a default value for a struct.
2020-05-17Fix compilation with HeimdalRuss Allbery
Add a missing configure probe for krb5_xfree. If krb5_524_conv_principal is not available, return an error if asked to create a srvtab. (This function has been removed in current Heimdal.) Adjust the test suite to handle this case.
2020-05-17Install libexpect-perl for CI testingRuss Allbery
2020-05-17Add Heimdal CI testingRuss Allbery
Set up a Heimdal KDC and add Heimdal to the test matrix. Remove some unnecessary configuration from the MIT Kerberos CI configuration. Ensure the user programs are installed for whatever Kerberos we're using, which will enable more of the Perl test suite.
2020-05-17Fix realm of wallet principal in CI kadm5.aclRuss Allbery
2020-05-17Install remctl-server for CI testingRuss Allbery
2020-05-17Install libnet-duo-perl for CI testingRuss Allbery
2020-05-17Configure Kerberos tests for CIRuss Allbery
Install a full MIT Kerberos KDC when running CI tests with the MIT library and generate the files required to run the full test suite.
2020-05-17Switch to GitHub Actions for CIRuss Allbery
Regenerate the documentation with patched DocKnot 3.04 to pick up the new status badge, which fixes a few other issues with documentation generation.
2020-05-17Update to rra-c-util 8.2 and C TAP Harness 4.7Russ Allbery
Update to rra-c-util 8.2: * Implement explicit_bzero with memset if it is not available. * Reformat all C source using clang-format 10. * Work around Test::Strict not skipping .git directories. * Fix warnings with perltidy 20190601 and Perl::Critic 1.134. * Fix warnings with Clang 10, GCC 10, and the Clang static analyzer. Update to C TAP Harness 4.7: * Fix warnings with GCC 10. * Reformat all C source using clang-format 10. * Fixed malloc error checking in bstrndup.
2020-04-11Add missing NEWS entry for Duo changes in 1.3Russ Allbery
2018-06-03Add missing documentation linksRuss Allbery
2018-06-03Mark the package quote as brokenRuss Allbery
2018-06-03Add WebAuth and Net::Duo links in requirementsRuss Allbery
2018-06-03Add a proper NAME entry for ad-keytabrelease/1.4Russ Allbery
2018-06-03Generate man page for contrib/ad-keytabRuss Allbery
2018-06-03Fix skipping in verifier/netdb testRuss Allbery
If AUTHOR_TESTING wasn't set, the test would plan twice. Fix this by restructuring it to delay printing a plan and convert the Kerberos ticket test to a skip_all plan.
2018-06-03Ignore debian/ files in docs/spdx-license testRuss Allbery
2018-06-03Resync files with rra-c-utilRuss Allbery
Mostly comment and copyright changes, nothing that affects this package.
2018-06-03Fix loading of server programs in testsRuss Allbery
The eval was hiding all error messages when the test didn't work properly, and C_TAP_SOURCE doesn't have the generated version with the proper path to Perl.
2018-06-03Ignore _build in Test::RRA::AutomakeRuss Allbery
all_files should ignore the top-level _build directory, since that's used by Automake for build testing.
2018-06-03Release 1.4Russ Allbery
Update EXTRA_DIST for the new release.
2018-06-03Add SPDX-License-Identifier headersRuss Allbery
Add SPDX-License-Identifier headers to all substantial source files. Collapse copyright years. Add some Emacs configuration for files where the copyright notice is at the end. Add a test that every file has SPDX-License-Identifier.
2018-06-03Adjust wording for the kerberos mailing listRuss Allbery
May as well not publicize the full email address for spammers to scrape.
2018-06-03Rewrite documentation using DocKnotRuss Allbery
Numerous fixes to the README file by converging on standard templates. Add a README.md for GitHub. Break thanks out into a separate THANKS file following the convention used by remctl.
2018-05-28Pass realm to krb5_appdefault_* functionsRuss Allbery
When getting configuration values from krb5.conf, pass the default local realm into the Kerberos appdefault functions. This will produce more correct results with krb5.conf files that specify wallet configuration for multiple realms.
2018-05-27Enable verbose test mode for Travis-CIRuss Allbery
This makes it much easier to debug failing tests.
2018-05-27Add cppcheck testing targetRuss Allbery
No problems found, so nothing to fix.
2018-05-27Fix Travis-CI configuration to run bootstrapRuss Allbery
2018-05-27Add obsolete-strings test and fix problems it findsRuss Allbery
Mostly changing http eyrie.org URLs to https, but also remove my old email address in one place and switch some tests away from my old RRA_MAINTAINER_TESTS environment variable to use the Lancaster Consensus variables properly. This uncovered a bug in skipping one test unless Stanford Kerberos credentials existed.
2018-05-27Use rra-c-util RRA_PROG_PERL macroRuss Allbery
Rather than rolling this ourselves, use the macro from rra-c-util to probe for the path to Perl and check its version.
2018-05-27Rename autogen to bootstrapRuss Allbery
Rename the script to bootstrap from a Git checkout to bootstrap, matching the emerging consensus in the Autoconf world.
2018-05-27Update to rra-c-util 7.2 and C TAP Harness 4.3Russ Allbery
Update to rra-c-util 7.2: * Improve configure output for krb5-config testing. * Define UINT32_MAX for systems that don't have it. * Add SPDX-License-Identifier headers to all substantial source files. * Fix new warnings from GCC 7 and Clang warnings. * Require Test::Strict 0.25 or later to run those tests. * Fix off-by-one error in return-value checks for snprintf. * Use Autoconf to probe for supported warning flags. * Fix running module-version-t -u with current versions of Perl. * Use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD. Update to C TAP Harness 4.3: * Add support for valgrind and libtool in test lists. * Report test failures as left and right, not wanted and expected. * Fix string comparisons with NULL pointers and the string "(null)". * Add SPDX-License-Identifier headers to all substantial source files. * Avoid zero-length realloc allocations in breallocarray. * Fix new warnings from GCC 7 and Clang warnings. * Use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD.
2018-05-27Add NEWS entry for Active Directory fixesRuss Allbery
2018-05-27Fix syntax error in Wallet::Kadmin::ADRuss Allbery
2018-05-27Fix spelling errors in Wallet::ConfigRuss Allbery
2018-05-27Fix spelling errors in Wallet::Kadmin::ADRuss Allbery
2018-05-27Reorganize AD configuration optionsRuss Allbery
Move options up with other keytab backend options except for the bucket for keytabs, which does belong in the section on retrieving existing keytabs.
2018-05-27Enable warnings for contrib/ad-keytabRuss Allbery
Fix one duplicate code line that produced a warning.
2018-05-27Fix POD spelling errors in contrib/ad-keytabRuss Allbery
Also add stopwords.