Commit 450e1bb
committed
refactor: sanitize database encryption and connection logs
- Remove sensitive information, including JDBC URLs containing encoded passwords and password lengths, from JVM debug logs.
- Redact `sqlite3_key` details, internal database pointers, and file paths from iOS debug logs.
- Simplify log messages in `JvmCipherUtils` to avoid logging encrypted connection strings during the decryption process.1 parent a31ebaf commit 450e1bb
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- core/data/db-sqldelight/src
- iosMain/kotlin/com/softartdev/notedelight/db
- jvmMain/kotlin/com/softartdev/notedelight/db
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
0 commit comments