Skip to content

Conversation

rodentrabies
Copy link
Contributor

@rodentrabies rodentrabies commented Jun 4, 2019

Fix for #15635.
Throw an RPC_WALLET_ENCRYPTION_FAILED error when attempting to encrypt wallet with disabled private keys. Changed test/function/wallet_createwallet.py to test new behavior.

@fanquake fanquake added the Wallet label Jun 4, 2019
@fanquake fanquake requested a review from meshcollider June 4, 2019 14:12
@maflcko
Copy link
Member

maflcko commented Jun 4, 2019

Is this for backport?

@achow101
Copy link
Member

achow101 commented Jun 5, 2019

utACK 7860c98

Is this for backport?

Could be. It's not a regression though and probably doesn't effect that many people.

@maflcko maflcko added this to the 0.19.0 milestone Jun 5, 2019
Copy link
Contributor

@meshcollider meshcollider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 7860c98

@laanwj laanwj merged commit 7860c98 into bitcoin:master Jun 5, 2019
laanwj added a commit that referenced this pull request Jun 5, 2019
7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for #15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK 7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
@laanwj
Copy link
Member

laanwj commented Jun 5, 2019

utACK 7860c98

@rodentrabies rodentrabies deleted the encrypt-watchonly branch June 5, 2019 10:59
luke-jr pushed a commit to luke-jr/bitcoin that referenced this pull request Aug 23, 2019
@luke-jr luke-jr mentioned this pull request Aug 23, 2019
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Sep 5, 2020
… keys

Summary:
wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for #15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

---

Backport of Core [[bitcoin/bitcoin#16144 | PR16144]]

Test Plan:
  ninja check
  test_runner.py wallet_createwallet

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7368
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Oct 17, 2021
…vate keys

7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for bitcoin#15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK bitcoin@7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Oct 25, 2021
…vate keys

7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for bitcoin#15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK bitcoin@7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Oct 26, 2021
…bled private keys

7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for bitcoin#15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK bitcoin@7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Oct 26, 2021
…bled private keys

7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for bitcoin#15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK bitcoin@7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
Munkybooty pushed a commit to Munkybooty/dash that referenced this pull request Nov 9, 2021
…bled private keys

7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for bitcoin#15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK bitcoin@7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Nov 18, 2021
…bled private keys

7860c98 wallet: do not encrypt wallets with disabled private keys (whythat)

Pull request description:

  Fix for bitcoin#15635.
  Throw an `RPC_WALLET_ENCRYPTION_FAILED` error when attempting to encrypt wallet with disabled private keys. Changed `test/function/wallet_createwallet.py` to test new behavior.

ACKs for commit 7860c9:
  achow101:
    utACK 7860c98
  meshcollider:
    utACK bitcoin@7860c98

Tree-SHA512: d0cc40efd303a00d0b4d3cb2de59d8d2d7dd35647e7f3fe9d4a8986589499c1f567c5780c83a129e1ab8dbe601279c459c6ebce3b48b1d81d47a28616ef4a369
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants