Bitcoin Forum
May 14, 2024, 11:47:44 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoinj Wallet Tool: Decrypt Help Needed  (Read 196 times)
Mark Dunne (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
August 12, 2018, 09:41:11 AM
 #1

I am using the wallet.tool (https://github.com/bitcoin-wallet/bitcoin-wallet/blob/master/wallet/README.recover.md) on Ubuntu (novice user) to try to  decrypt and access (dump) my private keys on a wallet called the UltraCoin Client, which was developed in 2014 by Reggie Middleton's crew as a trading / smart-contract platform. It is a wallet based on the the bitcoinj architecture but doesn't have the option to print the private keys. The private keys are encrypted and I have no other way to access/read them. The wallet information is stored in a com.google.bitcoin.params.MainNetParams.wallet file which, on Windows, is located in %AppData%/UltraCoin Client/ .

When I try to execute the decrypt command (as per the readme, linked above); "openssl enc -d -aes-256-cbc -md md5 -a -in bitcoin-wallet-backup-testnet-2014-11-01 > bitcoin-wallet-decrypted-backup" it fails as the "bitcoin-wallet-backup-testnet-2014-11-01" doesn't exist on my computer. Can I amend some of the command to suit my com.google... file and if so how, exactly, what do I amend?
1715687264
Hero Member
*
Offline Offline

Posts: 1715687264

View Profile Personal Message (Offline)

Ignore
1715687264
Reply with quote  #2

1715687264
Report to moderator
1715687264
Hero Member
*
Offline Offline

Posts: 1715687264

View Profile Personal Message (Offline)

Ignore
1715687264
Reply with quote  #2

1715687264
Report to moderator
1715687264
Hero Member
*
Offline Offline

Posts: 1715687264

View Profile Personal Message (Offline)

Ignore
1715687264
Reply with quote  #2

1715687264
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715687264
Hero Member
*
Offline Offline

Posts: 1715687264

View Profile Personal Message (Offline)

Ignore
1715687264
Reply with quote  #2

1715687264
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 14, 2018, 08:50:30 AM
 #2

You first need to copy the encrypted file somewhere into your ubuntu home directory.
The first file after the -in command option, named 'bitcoin-wallet-backup-testnet-2014-11-01' in your example, is the encrypted file you want to decrypt.

Navigate into the folder you have copied the file to and execute the command:

Code:
openssl enc -d -aes-256-cbc -md md5 -a -in YOUR_FILE_NAME > decrypted_file


Note that you might have to replace aes-256-cbc if the forked client does use a different encryption algorithm.

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!