kami
|
b0932a19df
|
cold-start unlock: key wrap/unwrap, locked-mode daemon, IPC unlock methods
- internal/webauthn/keywrap.go: HKDF-SHA256 + AES-256-GCM WrapKey/UnwrapKey
- internal/ipc/: MethodStoreEncryptionKey/MethodUnlock wire, api structs,
server dispatch callbacks (WrapKeyFn/UnlockFn), client stubs
- internal/config/config.go: DefaultWrappedKeyPath() method
- cmd/mavend/main.go: locked-mode boot path - detects wrapped key, starts
locked with lockedAPI stub, wires UnlockFn that opens store + replaces
CoreAPI on passkey assertion. env-key path stores WrapKeyFn for enrollment.
make test green (303+, -race)
|
2026-07-06 13:24:49 +04:00 |
|