Author

Topic: Message Signing/Verification Errors (Read 369 times)

member
Activity: 78
Merit: 10
February 25, 2017, 11:16:11 AM
#3
Thanks for the quick reply goatpig! I'll check this with Bitcoin Core this evening and respond with my results. I'd be happy to help with testing v0.96. I'll setup a new Ubuntu VM to test it and respond with my results there also.
legendary
Activity: 3738
Merit: 1360
Armory Developer
February 25, 2017, 11:10:01 AM
#2
Try with Core, see if it fails too. You can also participate to the 0.96 testing phase to help me fix the issue for the next version.
member
Activity: 78
Merit: 10
February 25, 2017, 11:03:46 AM
#1
I need some help with Message Signing/Verification in Armory v0.95.1. I need to prove that I own a particular address. When I do the following as a test I am unable to verify the signature and the log shows errors. Each time I sign the same message, the signature is different for some odd reason. What am I doing wrong here?

Sign a Message
- Open the Message Signing/Verification tool
- Click the 'Select from Address Book' icon
- Select a Wallet Address to sign with
- Enter the word "test" in the 'Message to sign' field
- Click 'Bare Signature (Bitcoin-Core Compatible)'
- The Message Signature field produces the signed message

Verify the Message
- Select Verify Bare Signature
- Click the 'Select from Address Book' icon
- Select the same Wallet Address that was used to sign with previously
- Paste the previously signed message into the 'Signed Message' field
- Click Verify Signature
- An error is produced 'Invalid Signature'

Here is the Armory log (with some info redacted):
Code:
2017-02-25 07:48 (ERROR) -- Traceback (most recent call last):
  File "/usr/lib/armory/qtdialogs.py", line 8359, in wltTableClicked
    self.setAddrBookTxModel(self.selectedWltID)
  File "/usr/lib/armory/qtdialogs.py", line 8268, in setAddrBookTxModel
    self.addrBookTxModel = SentToAddrBookModel(wltID, self.main)
  File "/usr/lib/armory/armorymodels.py", line 1470, in __init__
    addressBook = self.wlt.cppWallet.createAddressBook();
AttributeError: 'NoneType' object has no attribute 'createAddressBook'

2017-02-25 07:48 (ERROR) -- Traceback (most recent call last):
  File "/usr/lib/armory/qtdialogs.py", line 8253, in closeEvent
    self.saveGeometrySettings()
  File "/usr/lib/armory/qtdialogs.py", line 8248, in saveGeometrySettings
    self.main.writeSetting('AddrBookRxTbl', saveTableView(self.addrBookRxView))
  File "/usr/lib/armory/qtdefines.py", line 705, in saveTableView
    nCol = qtbl.model().columnCount()
AttributeError: 'NoneType' object has no attribute 'columnCount'

2017-02-25 07:49 (INFO) -- ArmoryQt.py:2257 - setSatoshiPaths
2017-02-25 07:49 (INFO) -- ArmoryUtils.py:651 - Executing popen: ['/usr/bin/ArmoryDB', '--db-type="DB_FULL"', '--spawnId="[REDACTED]"', '--satoshi-datadir="/home/[REDACTED]/.bitcoin/blocks"', '--datadir="/media/BTC/.armory/"', '--dbdir="/media/BTC/.armory/databases"']
2017-02-25 07:49 (INFO) -- ArmoryQt.py:2307 - Setting netmode: 1
2017-02-25 07:49 (INFO) -- ArmoryQt.py:2289 - loadBlockchainIfNecessary
2017-02-25 07:49 (INFO) -- ArmoryQt.py:2307 - Setting netmode: 1
2017-02-25 07:49 (INFO) -- ArmoryQt.py:5645 - Dashboard switched to "Scanning" mode
2017-02-25 07:49 (INFO) -- ArmoryQt.py:2886 - Current block number: 454655
2017-02-25 07:51 (ERROR) -- Traceback (most recent call last):
  File "/usr/lib/armory/ui/toolsDialogs.py", line 291, in verifySignature
    messageString, 'v0', ord(ADDRBYTE))
  File "/usr/lib/armory/jasvet.py", line 632, in verifySignature
    return verify_message_Bitcoin(b64sig, msg, networkVersionNumber = networkVersionNumber)
  File "/usr/lib/armory/jasvet.py", line 456, in verify_message_Bitcoin
    raise Exception("vmB","Bad signature")
Exception: ('vmB', 'Bad signature')
Jump to: