Commit Graph
18 Commits
Author SHA1 Message Date
Koen van HoveandGitHub 835d9f6052 Add support for Debian Trixie (#1308)
This PR adds support for Debian Trixie (13).

 It also cleans up some old references that are no longer used.
2025-07-31 15:04:10 +02:00
Koen van HoveandGitHub d174f2d7b4 Make TA messaging clearer (#1305)
This PR updates the message presented when the TA proxy creates an
empty TA signer request to better explain the reasons.
2025-07-31 15:03:16 +02:00
Koen van HoveandGitHub 647df15272 Add support for RHEL 10 (#1297) 2025-06-18 12:10:41 +02:00
Martin HoffmannandGitHub 41d0d27ea0 Force re-issuance of TA-issued certificates if requested. (#1281)
This PR disables the protection against early re-issuance of certificates
for certificates that have the full resource set, typically TA certificates.
2025-06-05 15:18:52 +02:00
Martin HoffmannandGitHub 99e331b18e Remove static-openssl feature. (#1279)
This PR removes the static-openssl feature. If necessary, this features can
be invoked by selecting openssl/vendored directly.

The PR also removes building and testing with default features from the CI
workflow. The only difference between default and all features currently is
rta which is deprecated and will be removed, anyway.

This PR now also fixes a few issues in krillc config simple and the post
install scripts for Debian and RPM packages.
2025-06-04 17:58:28 +02:00
Koen van HoveandGitHub f2f94a251b Allow for the reissuance of TA certificates (including HSM support) (#1255)
This PR adds a new command to the TA signer that allows re-initializing it
with new settings.
2025-03-28 14:33:40 +01:00
Martin HoffmannandGitHub fc104247ae Restructure authentication policies. (#1232)
This PR restructures how authentication policies are used in Krill. It
removes the use of Oso and its policy definition language and instead
switches to simple, straightforward mappings between permissions, roles,
and users.

The existing concept of roles is augmented to serve as the central
configuration option for limiting a user’s access to certain action and
resources. Roles are now user configurable via the new auth_roles
configuration directive. For each role, a set of permissions has to be
provided. Optionally, a list of resource handles (vulgo: CAs) can be given
in which case access is limited to these resources.

The authentication providers now assign one of these roles to each logged
in user.

The OpenID Connect provider now only determines claims for “id,” i.e., the
user name, and the “role.” Since we replaced the previous use of JMES
paths with custom functions with a more stringent model of matching and
substitution, the configuration had to change in a non-compatible way,
anyway, so we cleaned it up a bit and switched from a map to an array for
the claims.

For the config file provider, this was already possible by adding a “role”
attribute. This has now been changed into a “role” field of the user
details. In order to make upgrading seamless, the “role” attribute is
still accepted but a deprecation warning is logged. Since the auth_users
configuration is not used for the OpenID Connect provider any more, the
password_hash and salt fields of the user details are now mandatory.

Custom policies have been removed.

This is a breaking change.
2025-02-05 11:45:49 +01:00
Koen van HoveandGitHub 7c14de18e9 Packaging: add Ubuntu Noble, remove Xenial, Bionic, and Debian Stretch (#1239) 2024-12-04 10:15:51 +01:00
Alex Band afc1e783eb spurious indent 2024-07-17 21:01:28 +02:00
Alex Band da773d49eb Update for RtD changes 2024-07-17 20:57:52 +02:00
Alex Band f5fbb30d63 First pass of typo and formatting fixes 2024-07-03 12:34:21 +02:00
Alex Band a88636428e Remove reference to closed and merged issue 2024-07-03 10:46:23 +02:00
Alex Band 865a26cedc Remove CentOS 6 instructions 2024-07-03 10:43:14 +02:00
Alex Band 1d1ee4f7b1 Update build dependencies 2024-07-02 22:53:43 +02:00
Alex Band f843acc7a9 Updated badges and reflow 2024-07-02 22:39:04 +02:00
Alex Band 2d33e14829 Update OS packages 2024-07-02 22:18:00 +02:00
Alex Band 5789368904 Fetch version info from cargo.toml 2024-07-02 21:49:40 +02:00
Alex Band 15f8c2130d Migrate docs into main project 2024-07-02 21:39:13 +02:00