[control] Domi CA and UI sign-in: intermediate renewal by CSR with manual offline signing, domi host certificates, device requests approved by code, one-time PKCS#12 installs, revocation; Remote-User trusted only with edge's per-boot proof
This commit is contained in:
@@ -279,12 +279,7 @@ impl Pki {
|
||||
#[cfg(unix)]
|
||||
{
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
let mode = if d.ends_with("approvals") {
|
||||
0o700
|
||||
} else {
|
||||
0o700
|
||||
};
|
||||
let _ = std::fs::set_permissions(&d, std::fs::Permissions::from_mode(mode));
|
||||
let _ = std::fs::set_permissions(&d, std::fs::Permissions::from_mode(0o700));
|
||||
}
|
||||
}
|
||||
Ok(Pki {
|
||||
|
||||
Reference in New Issue
Block a user