Skip to content

Observing memory crash when decryption key is removed from memory. #32

Closed
@kashifali007

Description

When walletpassphrase is executed after decryption is removed from memory; iguana gets crashed.
it happens when execute any rpc after walletpassphrase rpc is executed when decyption key is removed.

here is sequence to reproduce that issue;

curl -s --url "http://127.0.0.1:7778" --data "{"agent":"iguana","method":"addcoin","newcoin":"BTCD","services":0,"portp2p":14631}"
curl -s --url "http://127.0.0.1:7778" --data "{"agent":"bitcoinrpc","method":"walletpassphrase","password":"yourpassword","timeout":300}"

at here wait for decryption key to be removed from memory

once the wallet is locked successfully run again walletpassphrase

curl -s --url "http://127.0.0.1:7778" --data "{"agent":"bitcoinrpc","method":"walletpassphrase","password":"yourpassword","timeout":300}"

you should be seeing crash on console.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions