Skip to content
Snippets Groups Projects

Add `signstar-config` crate to handle Signstar configs, administrative and non-administrative credentials on a Signstar host

Merged David Runge requested to merge feat/signstar-config into main
Files
5
@@ -133,9 +133,10 @@ pub enum ErrorExitCode {
UtilsExecutableNotFound,
UtilsSystemUserLookup,
UtilsMappingSystemUserGet,
UtilsSystemUserNotRoot,
UtilsSystemUserData,
UtilsSystemUserMismatch,
UtilsSystemUserNotRoot,
UtilsSystemUserRoot,
WriteToStdin,
}
@@ -254,6 +255,7 @@ impl From<Error> for ErrorExitCode {
current_user: _,
} => Self::UtilsSystemUserMismatch,
crate::utils::Error::SystemUserNotRoot { user: _ } => Self::UtilsSystemUserNotRoot,
crate::utils::Error::SystemUserRoot { user: _ } => Self::UtilsSystemUserRoot,
},
// top-level errors and their exit codes
Error::ApplyPermissions {
Loading