You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Credential vault, credential files, and secret handling #32
No cloud credential is stored in the clear in the Cacti database.
Requirements
REQ-CRED-001 Vault secrets MUST be encrypted with AES-256-GCM, a random nonce, and additional data binding the ciphertext to its account.
REQ-CRED-002 The vault key MUST be read from a file outside the database that the plugin never creates or writes, and refused unless it is a regular file, not a symbolic link, not readable or writable by others, and exactly 32 bytes or 64 hex characters.
REQ-CRED-003 Credential files MUST be read only by absolute path and refused unless they are regular files of bounded size, not symbolic links, and not readable or writable by others.
REQ-CRED-004 Stored secrets MUST NOT be sent to the browser, written to logs, included in exceptions, or exported.
REQ-CRED-005 Error text from providers and the transport MUST pass through a redactor that removes known secrets and Authorization values.
REQ-CRED-006 Objects holding secrets MUST refuse serialization and redact debug output.
Acceptance criteria
A test searches logs, responses, and a database dump for the test secrets and finds none.
Key and credential file checks tested for each refusal.
Activity
fix: address review findings on the M2 foundation
test: search page responses for a credential saved through the form
docs: say the key file's directory must not be writable by others
fix: address the second review round on the M2 foundation
fix: find every redaction span in the original text
somethingwithproof commentedon Nov 15, 2026
Done in #81 (merged as b3730b1).