Bitcoin Forum
December 03, 2016, 12:30:12 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Passphrase Problems  (Read 1030 times)
The00Dustin
Hero Member
*****
Offline Offline

Activity: 806


View Profile
February 23, 2012, 02:10:46 PM
 #1

Anytime I enter my passphrase in bitcoin-qt on Windows, it crashes (I can't even run bitcoin-qt on Linux).  When I run bitcoind on Windows or Linux and use walletpassphrase or walletpassphrasechange, I get this error:
error: {"code":-1,"message":"CKey::SetSecret() : secret must be 32 bytes"}
The same wallet passphrase works fine on the same wallet with pywallet.
This is the second time I have had passphrase problems (but the first time I have posted about them).  Is there some set of passphrase guidlines in order to avoid situations like this?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
February 23, 2012, 03:17:49 PM
 #2

This looks like some sort of strange corruption occurred in your wallet; can you provide any more details, for example what you did to get it in this state?

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
The00Dustin
Hero Member
*****
Offline Offline

Activity: 806


View Profile
February 23, 2012, 03:46:05 PM
 #3

Unfortunately, I have no clue, but I can tell you I sent all of my coins out of it by importing the relevant keys into a new wallet and sending the BTC from there, and bitcoin-qt reflected this change accurately in the old wallet, live.  I will do some testing and report back.
The00Dustin
Hero Member
*****
Offline Offline

Activity: 806


View Profile
February 23, 2012, 05:30:26 PM
 #4

Sure enough, file was corrupted.  I'm not sure how that happened, but I'm guessing it was my fault (manipulated it with bitcoinqt running or something).  File was 100KiB bigger than it needed to be (imported all addresses to new wallet, ran rescan, encrypted with same key, new file is 100KiB smaller, presumably with 100 more addresses (new keypool).
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!