View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004644 | SymmetricDS | Bug | public | 2020-11-19 13:46 | 2021-01-11 13:47 |
Reporter | elong | Assigned To | elong | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.12.0 | ||||
Target Version | 3.12.6 | Fixed in Version | 3.12.6 | ||
Summary | 0004644: Multiple nodes need synchronized access to keystore | ||||
Description | When starting multiple nodes in the same server, access to the keystore should be synchronized to avoid race condition problems. It's possible for both nodes to generate the default secret key and use it to encrypt data, but the last key generated will be the one found on a restart, leaving one of the nodes unable to decrypt data: ERROR [node1] [AbstractSymmetricEngine] [symmetric-engine-startup-2] An error occurred while starting SymmetricDS StackTraceKey.init [RuntimeException:867906149] java.lang.RuntimeException: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption. at org.jumpmind.security.SecurityService.decrypt(SecurityService.java:208) at com.jumpmind.symmetric.security.NodePasswordFilter.onNodeSecurityRender(NodePasswordFilter.java:22) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-19 13:46 | elong | New Issue | |
2020-11-19 13:46 | elong | Status | new => assigned |
2020-11-19 13:46 | elong | Assigned To | => elong |
2020-11-19 23:38 | elong | Status | assigned => resolved |
2020-11-19 23:38 | elong | Resolution | open => fixed |
2020-11-19 23:38 | elong | Fixed in Version | => 3.12.6 |
2020-11-20 00:00 | admin | Changeset attached | => SymmetricDS 3.12 09a6d98a |
2021-01-11 13:47 | admin | Status | resolved => closed |