Skip to content

Add AuthRequestor that can return credentials from systemd creds#523

Open
chrisccoulson wants to merge 1 commit intocanonical:masterfrom
chrisccoulson:add-sdcreds-auth-requestor
Open

Add AuthRequestor that can return credentials from systemd creds#523
chrisccoulson wants to merge 1 commit intocanonical:masterfrom
chrisccoulson:add-sdcreds-auth-requestor

Conversation

@chrisccoulson
Copy link
Collaborator

@chrisccoulson chrisccoulson commented Mar 6, 2026

This adds an implementation of AuthRequestor that can use systemd
credentials as a source for user credentials, useful primarily for
snapd spread tests.

Credentials are supplied with names following the format
..
... where is "ubuntu-fde" by default, is the path
with the leading separator removed and remaining separators replaced
with '-', and is one of "passphrase", "pin" or "recoverykey".

Fixes: FR-12438

This adds an implementation of AuthRequestor that can use systemd
credentials as a source for user credentials, useful primarily for
snapd spread tests.

Credentials are supplied with names following the format
<prefix>.<path>.<type>
... where <prefix> is "ubuntu-fde" by default, <path> is the path
with the leading separator removed and remaining separators replaced
with '-', and <type> is one of "passphrase", "pin" or "recoverykey".

Fixes: FR-12438
@chrisccoulson chrisccoulson requested a review from pedronis March 6, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant