forked from sneak/secret
- Changed EncryptWithPassphrase to accept *memguard.LockedBuffer instead of []byte - Updated all callers to pass LockedBuffer: - CreatePassphraseUnlocker in vault/unlockers.go - Keychain unlocker in keychainunlocker.go - Tests in passphrase_test.go - Removed intermediate dataBuffer creation since data is now already protected - This ensures sensitive data is protected in memory throughout encryption |
||
|---|---|---|
| .. | ||
| constants.go | ||
| crypto.go | ||
| debug_test.go | ||
| debug.go | ||
| helpers.go | ||
| keychainunlocker.go | ||
| metadata.go | ||
| passphrase_test.go | ||
| passphraseunlocker.go | ||
| pgpunlock_test.go | ||
| pgpunlocker.go | ||
| secret_test.go | ||
| secret.go | ||
| unlocker.go | ||
| validation_test.go | ||
| version_test.go | ||
| version.go | ||