Added extensive logging to crypto.go to trace when the encryption key migration code runs and when it deletes the key. This is to diagnose a recurring bug where the encryption key mysteriously disappears. The logs will show: - When migration is being considered (dataDir != /etc/pulse) - When migration is skipped (dataDir == /etc/pulse) - CRITICAL log when key is about to be deleted - CRITICAL log when key has been deleted This will help identify whether it's the Go code or something external deleting the key. |
||
|---|---|---|
| .. | ||
| crypto.go | ||
| crypto_test.go | ||