Bitcoin Forum
June 21, 2024, 02:27:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Message Signing/Verification Errors  (Read 350 times)
Ondart (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
February 25, 2017, 04:03:46 PM
 #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')

BTC: 171t96czWbGjYrccpgDjjgsD7HS3CCG135
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
February 25, 2017, 04:10:01 PM
 #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.

Ondart (OP)
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
February 25, 2017, 04:16:11 PM
 #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.

BTC: 171t96czWbGjYrccpgDjjgsD7HS3CCG135
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!