Skip to content

Commit

Permalink
Merge pull request #7242 from stejbac/fix-low-r-signing-key-decryptio…
Browse files Browse the repository at this point in the history
…n-bug

Fix broken low-R signing with a password encrypted wallet
  • Loading branch information
HenrikJannsen authored Sep 13, 2024
2 parents c116022 + 0bec482 commit 66f9648
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/java/bisq/core/crypto/LowRSigningKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ public class LowRSigningKey extends ECKey {

protected LowRSigningKey(ECKey key) {
super(key.hasPrivKey() ? key.getPrivKey() : null, new LazyECPoint(CURVE.getCurve(), key.getPubKey()));
this.keyCrypter = key.getKeyCrypter();
this.encryptedPrivateKey = key.getEncryptedPrivateKey();
if (this.priv == null) {
this.keyCrypter = key.getKeyCrypter();
this.encryptedPrivateKey = key.getEncryptedPrivateKey();
}
originalKey = key;
}

Expand Down

0 comments on commit 66f9648

Please sign in to comment.