Bitcoin Forum
December 05, 2016, 02:38:00 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21 22 23 24 25 26 »
  Print  
Author Topic: Pywallet 2.2: manage your wallet [Update required]  (Read 137259 times)
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 03, 2013, 08:37:10 PM
 #321

WalletGenie
WalletMender
WalletMinder
FixMyWallet
KeyMinder
WalletGenius
WalletEditor
WalletSurgeon
I like them all actually
No love at first sight though

pywallet-ng
As far as I understand 'ng', wouldn't it mean that pywallet isn't developped anymore? (it will be true for my fork but not for the original pywallet)

PryWallet
Why not, but why the R?

JackWallet.
I'm not that egocentric Grin


Thanks everybody, keep them coming Smiley

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
1480905480
Hero Member
*
Offline Offline

Posts: 1480905480

View Profile Personal Message (Offline)

Ignore
1480905480
Reply with quote  #2

1480905480
Report to moderator
1480905480
Hero Member
*
Offline Offline

Posts: 1480905480

View Profile Personal Message (Offline)

Ignore
1480905480
Reply with quote  #2

1480905480
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480905480
Hero Member
*
Offline Offline

Posts: 1480905480

View Profile Personal Message (Offline)

Ignore
1480905480
Reply with quote  #2

1480905480
Report to moderator
1480905480
Hero Member
*
Offline Offline

Posts: 1480905480

View Profile Personal Message (Offline)

Ignore
1480905480
Reply with quote  #2

1480905480
Report to moderator
1480905480
Hero Member
*
Offline Offline

Posts: 1480905480

View Profile Personal Message (Offline)

Ignore
1480905480
Reply with quote  #2

1480905480
Report to moderator
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 03, 2013, 08:45:32 PM
 #322

I fixed an old bug I never noticed
By the way, even after the end of pywallet development I will still fix bugs one could find


I just started to code pywallet's little brother
Codename: NPW Grin
For now I'm coding an advanced dump: it will include filters
I'll regularly publish pre-alpha versions on github if some are interested

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cdnbcguy
Full Member
***
Offline Offline

Activity: 128


View Profile WWW
September 04, 2013, 04:54:09 AM
 #323

I did a git pull to get the latest version of pywallet.

I started pywallet with the --web and --passphrase=gargar option.

I copied the private key of the paper wallet to a cvs file like this

5gargargar;label

The import from a cvs function worked fine - the account balance shows up in bitcoin-qt 8.3 - but I get a 'transaction creation failed' error when I try to send the coins in the account.

The bitcoin client was not running when I did the import.

One thing - pywallet complained that ecdsa was not installed, but it didn't throw any errors when I imported the key. Is that important?

Please get back to me on this...

I forgot to add I did the start the bitcoin client from the terminal with the -rescan trick and the -keypool=150 trick, then tried to send again. No joy.

Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs.

When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 04, 2013, 07:54:19 AM
 #324

The ecdsa warning is not a problem

Delete the keys you added
Close pywallet then run it again without the --passphrase option
Put the passphrase in the web interface (one of the tab is named "passphrase")
Then import your keys again and try


For the record it's exactly the kind of things that make me think I need to rebuild pywallet in a coherent way...

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cdnbcguy
Full Member
***
Offline Offline

Activity: 128


View Profile WWW
September 04, 2013, 10:13:51 AM
 #325

The ecdsa warning is not a problem

Delete the keys you added
Close pywallet then run it again without the --passphrase option
Put the passphrase in the web interface (one of the tab is named "passphrase")
Then import your keys again and try


For the record it's exactly the kind of things that make me think I need to rebuild pywallet in a coherent way...

Same problem. I also tried deleting the wallet.dat file (I have a backup) and letting Bitcoin-qt build a new one and importing the key into it with no passphrase at all.

It works but bitcoin-qt reports a zero balance. When I restore the backup I can import the key and get the paper wallet balance restored, but same signing problem.


Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs.

When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 04, 2013, 10:18:46 AM
 #326

I don't see what can happen
If the passphrase is bad or if pywallet incorrectly imported the private key, bitcoin-qt will say "corrupt wallet"
But if it doesn't say that and if you rescanned I don't see where could be the problem
Could you post a screenshot of the error?
What does the debug.log say?

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
cdnbcguy
Full Member
***
Offline Offline

Activity: 128


View Profile WWW
September 04, 2013, 11:13:54 AM
 #327

I don't see what can happen
If the passphrase is bad or if pywallet incorrectly imported the private key, bitcoin-qt will say "corrupt wallet"
But if it doesn't say that and if you rescanned I don't see where could be the problem
Could you post a screenshot of the error?
What does the debug.log say?

Ok - job done but what actually worked was this -

I deleted the wallet.dat and let bitcoin-qt make a new one

I imported the key with pywallet and turned pywallet off

I ran bitcoin-qt -rescan this time - didn't do that last time thanks for reminding me.

After the rescan it came up with the paper wallet balance and I sent the BTC.

I turned off bitcoin-qt and zipped the wallet with crypto and restored the original wallet.

This is a workaround...

Annona ad! Please keep in mind that there is nothing wrong with Bitcoin itself. All it's scandals are caused by wonky websites and sleazy people exploiting it. The light attracts bugs.

When all this bullshit drys up and blows away, Bitcoin will be stronger than ever.
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 04, 2013, 11:23:15 AM
 #328

I don't see what can happen
If the passphrase is bad or if pywallet incorrectly imported the private key, bitcoin-qt will say "corrupt wallet"
But if it doesn't say that and if you rescanned I don't see where could be the problem
Could you post a screenshot of the error?
What does the debug.log say?

Ok - job done but what actually worked was this -

I deleted the wallet.dat and let bitcoin-qt make a new one

I imported the key with pywallet and turned pywallet off

I ran bitcoin-qt -rescan this time - didn't do that last time thanks for reminding me.

After the rescan it came up with the paper wallet balance and I sent the BTC.

I turned off bitcoin-qt and zipped the wallet with crypto and restored the original wallet.

This is a workaround...

I'm glad it worked out!
The new version will allow to create transactions by hand

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Dabs
Staff
Legendary
*
Offline Offline

Activity: 1512


64blocks.com


View Profile WWW
September 04, 2013, 01:20:01 PM
 #329

If you don't want to name it after yourself, you may name it after me. Hehehe. DabsWallet.

64blocks.com Social Multiplayer Dice (Gambling) - Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: Dabs
All messages concerning escrow or with bitcoin addresses are GPG signed. Please verify.
CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
Abdussamad
Legendary
*
Offline Offline

Activity: 1204



View Profile WWW
September 04, 2013, 02:27:59 PM
 #330

JackWallet sounds nice.  It sounds catchy. Also it's sort of like a car jack is to a car. You use JackWallet to repair your wallet!

K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
September 13, 2013, 06:40:17 AM
 #331

why the sudden need for a name change? pywallet is totaly fine and alot of ppl know it this way Wink

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 13, 2013, 08:12:53 AM
 #332

why the sudden need for a name change? pywallet is totaly fine and alot of ppl know it this way Wink
https://bitcointalk.org/index.php?topic=34028.msg3058829#msg3058829 Smiley

JackWallet sounds nice.  It sounds catchy. Also it's sort of like a car jack is to a car. You use JackWallet to repair your wallet!
I don't think people will value a software to deal with their private keys if its name makes them think about car-jacking.
I'm not an English native though so maybe it's catchy and not scary. If so, could native speakers tell me so?

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Dabs
Staff
Legendary
*
Offline Offline

Activity: 1512


64blocks.com


View Profile WWW
September 13, 2013, 08:35:32 AM
 #333

WalletFixer

64blocks.com Social Multiplayer Dice (Gambling) - Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: Dabs
All messages concerning escrow or with bitcoin addresses are GPG signed. Please verify.
CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 14, 2013, 02:05:10 PM
 #334

Fixwallet (Gavin's bitcointools) already exists, that's too close IMO

Do you think the organization of the current WUI is logical/easy to use/practical? I mean the division in Dump/Import/Delete/etc tabs

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
malevolent
can into space
Staff
Legendary
*
Offline Offline

Activity: 1624



View Profile
September 14, 2013, 02:52:19 PM
 #335

JackWallet sounds nice.  It sounds catchy. Also it's sort of like a car jack is to a car. You use JackWallet to repair your wallet!
I don't think people will value a software to deal with their private keys if its name makes them think about car-jacking.
I'm not an English native though so maybe it's catchy and not scary. If so, could native speakers tell me so?

I don't see a problem with JackWallet but English is not my mother tongue, so you might want to wait for more people to provide you with an answer to your question.

How about JacquesWallet then?

JWallet is already taken and could imply your fork is written in Java so I'm not going to suggest it.
dserrano5
Legendary
*
Offline Offline

Activity: 1638



View Profile
September 14, 2013, 04:37:47 PM
 #336

Guessing not many people would test this, I wanted to do it since I read this post. Finally I did it today.


Deleted wallets recovery (encrypted+unencrypted wallet, on Linux+Windows)

Pywallet will go through these steps:
 1. read every byte on the disk to look for keys (sloooooooooow, ~600Mo/min)
 2. create a partial file (in outputdir) so that if you forgot a passphrase but remember it later you don't have to go through step 1 again
 3. test all the passphrases for the most possible (encrypted private key / encryption parameters) pairs
 4. if there are some private keys still not decrypted, YOU chose whether or not you want to test all passphrase with all encryption parameters with all undecrypted private keys

Note that recov_size must be higher than the size of recov_device and that recov_outputdir must exist

Usage examples for Linux and Windows:
Code:
python pywallet_2.1.0b13.py --recover --recov_device /dev/sda --recov_size 30Gio --recov_outputdir /home/jackjack
Code:
python pywallet_2.1.0b13.py --recover --recov_device c: --recov_size 30Gio --recov_outputdir c:\recoveredwalletsfolder

So let's set up a filesystem:

Code:
# dd if=/dev/zero of=/tmp/fs bs=1M count=20
# mkfs.ext3 /tmp/fs
# mount -o loop /tmp/fs /mnt
# chown btc:btc /mnt

Fill it with a bunch of small files, make some room for the wallet, finally copy the wallet inside. This is to increase the chances of it being fragmented:

Code:
$ cp -a $(find /usr/bin -size -30k) /mnt/
cp: writing `/mnt/xwd': No space left on device
[...]
$ rm -f /mnt/{a,c,e,s}*
$ df /mnt/
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/loop1               19827     14487      4316  78% /mnt
$ cp .bitcoin/wallet.dat /mnt/
$ df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/loop1               19827     17894       909  96% /mnt

Code:
# umount /mnt

Using debugfs I check that in fact the wallet is scattered over a bunch of separated blocks. 30 lines of output in my terminal only to enumerate the blocks Smiley. Well now the fun begins!

Code:
$ cd pywallet
$ grep ^pywversion pywallet.py
pywversion="2.1.4"
$ mkdir /home/btc/enc/pywallet-recov
$ python pywallet.py --recover --recov_device /mnt/fs --recov_size 20Mio --recov_outputdir /home/btc/enc/pywallet-recov
Enter the passphrase for the wallet that will contain all the recovered keys: wow the password is displayed as I type!
Enter the possible passphrases used in your deleted wallets.
Don't forget that more passphrases = more time to test the possibilities.
Write one passphrase per line and end with an empty line.
Possible passphrase: this is displayed too
Possible passphrase:

Starting recovery.

Read 0.0 Go in 0.0 minutes

Found 1 possible wallets
Found 355 possible encrypted keys
Found 0 possible unencrypted keys

Possible wallet #1
    with passphrase #1  ...................................

Private keys not decrypted: 4
Trying all the remaining possibilities (4) might take up to 0 minutes.
Do you want to test them? (y/n): y

Private keys not decrypted: 4
Try another password, check the size of your partition or seek help
The wallet is encrypted and the passphrase is correct


Importing:

Key    1/248 imported:
Address (Bitcoin): 1HvPpmKxmjs…
Privkey (Bitcoin): 5JG5smj…
[…]

The new wallet /home/btc/enc/pywallet-recov/recovered_wallet_1379174268.dat contains the 248 recovered keys

Seems that some keys couldn't be recovered. Maybe they were fragmented but in this case, it's remarkable that only 4 keys were affected.

Code:
$ cd
$ cp enc/pywallet-recov/recovered_wallet_1379174268.dat .bitcoin/wallet.dat
$ nice bitcoind &
$ bitcoind getbalance
0.00000000

Uh oh, this wasn't expected… or maybe was it? My original wallet.dat is 3 Mb while the recovered one is around 100 Kb.

Code:
$ bitcoind stop
$ nice bitcoind -rescan &
$ bitcoind getbalance
0.00000000

The resulting wallet.dat is still 100 Kb. Currently 5 of my keys have some balance so if only 4 were lost I should have at least something, 0.15 BTC in the worst case.

Later I'll do an intersection on the sets keys-in-my-good-wallet versus keys-in-the-recovered-wallet and will report back, but for now I'm done. Here are a couple of suggestions:

  • Passwords are displayed as I type. This shouldn't happen!
  • The output says "Found 355 possible encrypted keys". What's up with the 355(total) - 248(recovered) - 4(lost) = 103 missing ones?
  • The output contains private keys. I'd prefer to have them (partially) censored.
  • pywallet doesn't create the recov_outputdir if it doesn't exist. It should create it, maybe giving a choice to the user.

dserrano5
Legendary
*
Offline Offline

Activity: 1638



View Profile
September 14, 2013, 05:41:43 PM
 #337

Later I'll do an intersection on the sets keys-in-my-good-wallet versus keys-in-the-recovered-wallet and will report back

Interestingly, this intersection yields 0 keys. pywallet seems to have "recovered" some keys that I've never had in my wallet. Dang, it could have chosen keys with some funds in them! Smiley. Well I'll repeat everything to discard a pebkac.

Ah, another thing worth mentioning:

Code:
$ bitcoind walletpassphrase foobar 10
error: {"code":-14,"message":"Error: The wallet passphrase entered was incorrect."}
$ python pywallet.py --passphrase=foobar --dumpwallet |head
'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
The wallet is encrypted and the passphrase is correct
{
    "bestblock": […]

jackjack
Hero Member
*****
Offline Offline

Activity: 868


May Bitcoin be touched by his Noodly Appendage


View Profile
September 14, 2013, 06:11:18 PM
 #338

Thanks dserrano5 for these tests.
That's strange because it worked on my dev computer. I'll run some tests too as soon as I have access to it again.
It's kinda worrying though.

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
dserrano5
Legendary
*
Offline Offline

Activity: 1638



View Profile
September 14, 2013, 06:17:26 PM
 #339

Well I'll repeat everything to discard a pebkac.

Done.

Code:
Found 1 possible wallets
Found 472 possible encrypted keys
Found 0 possible unencrypted keys

Private keys not decrypted: 1

Key    1/254 imported:

So now there are 472 - 254 - 1 = 217 keys in limbo. Again, none of the recovered keys matches any of the existing ones. bitcoind doesn't accept the password again.

The "p" in pebkac is either non-existent or really serious Smiley. Let me know if your tests run fine, so I'll make a new wallet and recover it, then I'll send you both files.

kasael
Newbie
*
Offline Offline

Activity: 19


View Profile
September 16, 2013, 01:01:19 AM
 #340

When i try to recover my wallet (comes from thread https://bitcointalk.org/index.php?topic=291333.0) i get the next error on the web interface:

"Error in dump page"

i have installed python 2.7 and pywallet, i made the web interface working by opening a command mode, and placing my pywallet.py and pywallet.bat files on my desktop (where my wallet.dat is too) and running the next command  from the windows cmd console: "pywallet --info wallet.dat"

i am probably doing something wrong i known Sad
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 21 22 23 24 25 26 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!