Issue Able To Make Transaction With Locked Wallet

Discussion in 'Technical Development' started by SG-O, Jan 31, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. SG-O

    SG-O Member
    Developer

    Jan 13, 2016
    104
    86
    Male
    Software Dev
    Milky Way
    I just found a major flaw! I just sent a transaction with a locked wallet. It happened like this:
    1. Tried to send transaction -> failed
    2. Unlocked wallet forever -> success
    3. Locked wallet from command line -> success both in the wallet log and the control output
    1. Tried to send transaction -> success
     
  2. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    What is your testnet wallet address, i will try send you 1 from my locked wallet (experimental purposes) .
     
  3. SG-O

    SG-O Member
    Developer

    Jan 13, 2016
    104
    86
    Male
    Software Dev
    Milky Way
    My Testnet Address is:
    TsXJFVrvTXizqe6DopRPRBcYpYdFUu9XBut
     
  4. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    just tried from a locked wallet, it wouldnt work, will now try from an unlocked wallet, (just to make sure im doing it correct)
     
  5. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    unlocked my wallet this time and sent 0.5 e6302c2cf632fdac39c46f1225723f76ba0389ce923a2ecef5de9fcafcc048e0

    Good luck with your wallet problem, lets hope it was just a matter of not locking it correctly.
     
  6. SG-O

    SG-O Member
    Developer

    Jan 13, 2016
    104
    86
    Male
    Software Dev
    Milky Way
    Even if it just happens 1 out of 100 times or even less frequent it is still a major security risk! I am absolutely sure that I have locked the wallet with the "walletlock" command (log confirms).

    I just copied the part out of my log:

    Code:
    21:25:53 2016-01-31 [INF] WLLT: Connecting block 00000000003fa461f6eea6fd7e670adbe7895c46d8e912d1444a135abf1b5ff9, height 4307
    21:25:58 2016-01-31 [INF] WLLT: Connecting block 00000000003313ffa6a05460d9ddbd1eb1a27e5410b0fa018d465c12c94f4832, height 4308
    21:27:02 2016-01-31 [INF] WLLT: Connecting block 0000000000397f4df296a53612e37f78de69bd375804581e7d00653d6bddd94d, height 4309
    21:28:02 2016-01-31 [INF] WLLT: Connecting block 0000000000463ae93ed3ca586c928e7b024139d26771593515e922708b54954c, height 4310
    21:28:18 2016-01-31 [INF] WLLT: Connecting block 0000000000370899de36cfcd9a98c5641c15c366df868202d24f690f7839bc2b, height 4311
    21:28:41 2016-01-31 [INF] WLLT: The wallet has been locked.
    21:28:54 2016-01-31 [INF] WLLT: Connecting block 000000000020ed33196a6660fd32307eb4350b533b6de79c88d0e6e36aa388a2, height 4312
    21:29:55 2016-01-31 [INF] WLLT: Connecting block 0000000000186ef51a9620e05c302c37353be2360b44b8aaa8568d0876f08bd2, height 4313
    21:33:57 2016-01-31 [INF] WLLT: Connecting block 0000000000496baf04fd98fc624b05df57f4ce288a4106c6a95e602e75e31a39, height 4314
    21:36:28 2016-01-31 [INF] TMGR: Inserting unconfirmed transaction 772bfb29ebb6961a95e1b3bc033e8f4116cd4e10c81d726f810fcecccb2dae1e
    21:36:28 2016-01-31 [INF] DCRW: Successfully sent transaction 772bfb29ebb6961a95e1b3bc033e8f4116cd4e10c81d726f810fcecccb2dae1e
    21:36:39 2016-01-31 [INF] WLLT: Connecting block 000000000047cd8eb27cd69c0db77d2daa0d2a056bc1a354bc808fab817b8318, height 4315
    21:40:32 2016-01-31 [INF] WLLT: Connecting block 0000000000233ce275aafcc04ad341fd003564c2e0fec1cf84ca5f85211f7cdf, height 4316
    21:44:14 2016-01-31 [INF] WLLT: Connecting block 0000000000147d42e64b6ff1f60fba9886537cab8926b55f64d65c103bc107a4, height 4317
     
  7. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    chappjc, David, SG-O and 1 other person like this.

Share This Page