Bitcoin Forum
February 23, 2018, 09:20:51 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to get private keys from encrypted bitcoin-qt?  (Read 2291 times)
dgray9000
Newbie
*
Offline Offline

Activity: 25
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?
1519420851
Hero Member
*
Offline Offline

Posts: 1519420851

View Profile Personal Message (Offline)

Ignore
1519420851
Reply with quote  #2

1519420851
Report to moderator
1519420851
Hero Member
*
Offline Offline

Posts: 1519420851

View Profile Personal Message (Offline)

Ignore
1519420851
Reply with quote  #2

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

Posts: 1519420851

View Profile Personal Message (Offline)

Ignore
1519420851
Reply with quote  #2

1519420851
Report to moderator
DannyHamilton
Legendary
*
Online Online

Activity: 2072
Merit: 1207



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
Newbie
*
Offline Offline

Activity: 25
Merit: 0


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

Ah, thank you very much!
dgray9000
Newbie
*
Offline Offline

Activity: 25
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: 1862
Merit: 1000


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
*
Online Online

Activity: 2072
Merit: 1207



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: 1862
Merit: 1000


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
*
Online Online

Activity: 2072
Merit: 1207



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
Newbie
*
Offline Offline

Activity: 25
Merit: 0


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

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

Activity: 826
Merit: 1000


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
Staff
Legendary
*
Offline Offline

Activity: 1960
Merit: 1091



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

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
Pages: [1]
  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!