Bitcoin Forum
May 12, 2024, 01:45:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory PaperBackup  (Read 140 times)
A720 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
December 13, 2020, 12:48:30 PM
Merited by HCP (1)
 #1


Hi

I have Problems with one of my old Armory PaperBackups

I have the Wallet Unique Id and MainAddress
and the Password

Problem is i dont have the File any longer

and the Paper is kinda damaged on the edge
last 4 digits in every Line not readable Sad

a = known  x = unknown/not readable

RootKey

aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa xxxx

aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa xxxx


ChainCode

aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa xxxx

aaaa aaaa aaaa aaaa aaaa aaaa aaaa aaaa xxxx


help would be really appreciated Smiley
1715478304
Hero Member
*
Offline Offline

Posts: 1715478304

View Profile Personal Message (Offline)

Ignore
1715478304
Reply with quote  #2

1715478304
Report to moderator
1715478304
Hero Member
*
Offline Offline

Posts: 1715478304

View Profile Personal Message (Offline)

Ignore
1715478304
Reply with quote  #2

1715478304
Report to moderator
1715478304
Hero Member
*
Offline Offline

Posts: 1715478304

View Profile Personal Message (Offline)

Ignore
1715478304
Reply with quote  #2

1715478304
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715478304
Hero Member
*
Offline Offline

Posts: 1715478304

View Profile Personal Message (Offline)

Ignore
1715478304
Reply with quote  #2

1715478304
Report to moderator
1715478304
Hero Member
*
Offline Offline

Posts: 1715478304

View Profile Personal Message (Offline)

Ignore
1715478304
Reply with quote  #2

1715478304
Report to moderator
1715478304
Hero Member
*
Offline Offline

Posts: 1715478304

View Profile Personal Message (Offline)

Ignore
1715478304
Reply with quote  #2

1715478304
Report to moderator
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
December 13, 2020, 03:28:03 PM
Merited by HCP (2)
 #2

The last 4 characters are checksums. The actual 16 bytes of data per line are encoded in the first 8 "words". You can write gibberish for the last 4 characters if you want. Armory will complain the checksums are invalid and will ask you to explicitly check the proposed wallet id with the one written on your backup. If the two match, you're all good.

A720 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
December 14, 2020, 06:39:53 AM
 #3


It took some time to get 4 characters per line that worked
problem is when i change the last 4 it also changes the Wallet uniqe id
and they dont match sadly
how is the checksum per line calculated?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
December 15, 2020, 08:00:57 AM
 #4

Last 4 characters shouldn't affect the final ID. Maybe you are getting combinations that have a "repair" candidate. At any rate, you can only use characters from the narrow set.

This is the character set:

https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L2246

This is the checksum calculation:

https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L2265
https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L2404

The hash function is 2 passes of sha256

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 16, 2020, 12:39:59 AM
Last edit: November 15, 2023, 12:33:54 AM by HCP
 #5

The last 4 characters are checksums. The actual 16 bytes of data per line are encoded in the first 8 "words". You can write gibberish for the last 4 characters if you want. Armory will complain the checksums are invalid and will ask you to explicitly check the proposed wallet id with the one written on your backup. If the two match, you're all good.
I have tried restoring a dummy wallet using random characters for the last 4... and I get an error:


This happens if I use blanks, or just random like aaaa... or just repeat one of the other 4 letter groups... it seems it'll only work if I get at least the first 2 letters of the checksum correct, then the last 2 can be anything. Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
December 17, 2020, 12:52:59 AM
 #6

I've reworked this code into the C++ side recently, I may be confusing the old functionality with the new one. He could get his wallet to restore by modifying the Python code to ignore checksum errors.

A720 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
December 17, 2020, 11:32:14 AM
 #7


Thanks a lot for the help Smiley !


i managed to manually brute force it

16x16 possible letters per line - so 4x256
aaaa - adaa - aeaa ------ > awaa - daaa - ddaa - deaa  and so on ..


if its the correct first 2 letters  the last 2 dont matter  - of the 256 trys per line
i got between 15-20 working combinations but only one was not producing errors when changing
the last 2 from aa to something else

im new here - is it against the rules to send/post btc adresses here on the forum?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1347

Armory Developer


View Profile
December 17, 2020, 06:53:23 PM
 #8

im new here - is it against the rules to send/post btc adresses here on the forum?

I don't think so, some people post theirs in their signature even.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 18, 2020, 05:08:45 AM
 #9

im new here - is it against the rules to send/post btc adresses here on the forum?
No, it's not against the rules to post BTC addresses... but depending on your personal level of "paranoia", it's advisable to consider what you do and don't share from a privacy point of view Wink


Note that "begging" (ie. asking for people to send you money) is against the forum rules... so posting an address and saying "please send me money" would be against the rules.

Refer "Rule 7" in the "Unofficial Forum Rules": https://bitcointalk.org/index.php?topic=703657.0

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
A720 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
December 20, 2020, 06:40:16 AM
 #10

ok -> thanks again !  Smiley
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!