Bitcoin Forum
May 14, 2024, 01:20:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get private keys from encrypted bitcoin-qt?  (Read 2362 times)
dgray9000 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
April 09, 2013, 02:36:36 AM
 #1

Hey guys, I was wondering if anyone could tell me how to get my private keys from my bitcoin-qt client, it is encrypted and I think that's why it won't give them to me with a simple dumpprivkey command. 

Anyway is it even possible and if so how?
1715649603
Hero Member
*
Offline Offline

Posts: 1715649603

View Profile Personal Message (Offline)

Ignore
1715649603
Reply with quote  #2

1715649603
Report to moderator
1715649603
Hero Member
*
Offline Offline

Posts: 1715649603

View Profile Personal Message (Offline)

Ignore
1715649603
Reply with quote  #2

1715649603
Report to moderator
1715649603
Hero Member
*
Offline Offline

Posts: 1715649603

View Profile Personal Message (Offline)

Ignore
1715649603
Reply with quote  #2

1715649603
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
April 09, 2013, 03:44:05 AM
 #2

Code:
walletpassphrase  <passphrase>  <timeout>
Stores the wallet decryption key in memory for <timeout> seconds

As reported here:

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list#Full_list
dgray9000 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
April 09, 2013, 03:59:28 AM
 #3

Ah, thank you very much!
dgray9000 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
April 09, 2013, 04:03:39 AM
 #4

Does this work even if my password is an entire phrase with correct punctuation?

cause it's giving me an error

Code:
Parse error: unbalanced ' or "
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
April 09, 2013, 04:09:53 AM
 #5

Does this work even if my password is an entire phrase with correct punctuation?

cause it's giving me an error

Code:
Parse error: unbalanced ' or "

You'll have to correctly escape and/or quote your passphrase (and that works differently for different OS platforms).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
April 09, 2013, 04:11:27 AM
 #6

You'll have to correctly escape and/or quote your passphrase (and that works differently for different OS platforms).

Was just about to say the same.  You beat me to it.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
April 09, 2013, 04:15:50 AM
 #7

Was just about to say the same.  You beat me to it.

Left you busily typing away in the VPN sign in topic just so I could.  Grin

@OP

As an example for Linux: walletpassphrase 'This "has quotes" in it'

and for windows: walletpassphrase "This \"has quotes\" in it"

(not sure about Mac but it is probably as per Linux)

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
April 09, 2013, 04:27:05 AM
 #8

- snip -
Left you busily typing away in the VPN sign in topic just so I could.  Grin
- snip -

Yeah I gave up on that one.  It is clear that that user isn't interested in "best practice".  They've already made up their mind about what they want to attempt.  They posted a question "Is this a sound idea?", and when they got multiple answers saying "No." their response was essentially, "But I want to do it anyway."  Not sure why they even bothered asking.
dgray9000 (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
April 09, 2013, 04:40:31 AM
 #9

Yay!!  It works thank you very much again!
Timetwister
Legendary
*
Offline Offline

Activity: 1199
Merit: 1047


View Profile
June 06, 2013, 12:35:10 PM
 #10

It isn't working for me, I'm getting this error: Method not found (code -32601)

Could you give me an example of what should I write? <erhjrt6354jnteryhtj54y4ycft34uhyth> <100>  isn't working, neither without the "<>".
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
June 07, 2013, 04:04:04 AM
 #11

This is why I prefer alphanumeric passwords. Make it long enough and you have the same security. Here are some examples:

8epEja5a8Ene3UJE7UhErUMUSUJA2EzE
nUXAmYVaRaQABymyZaPage4aVabEjeja
MuTesu2uvAbYpyNevE4EgybEsEtYvaZY
4EmymYQYQYZaqUnYgyraWeryPadavE9u
7AWevYZYTytAsATaWUPe4EzUzabaWyje

Memorizing them or keeping them secure is a different problem. I just write mine down and store it on paper in my wallet.
http://www.schneier.com/blog/archives/2005/06/write_down_your.html
http://www.schneier.com/news-101.html
http://www.schneier.com/blog/archives/2009/08/password_advice.html

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!