Bitcoin Forum
June 24, 2024, 12:02:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 514 »
941  Bitcoin / Bitcoin Technical Support / Re: Need help with a 6year old file related to Bitcoin keys on: April 15, 2021, 11:26:13 PM
Does the text start with "U2F" and look something like this:
Code:
U2FsdGVkX18LSYm98B5HRgLWHgx35xMcsSpjjtdC9XG6iEYh9OC+vfyQA1fNmjEKs64cm/bntH7g
/AMeb5NNSEe9hzYAgp/DRvOR+GX9E95pGcl4Gb2AHGMyUfAww7uV

If so, then it could be a MultiBit .key file... which means it is AES256 encrypted text... if you don't know the password, then you'd have to attempt to bruteforce it... which could be problematic if your dead friend used a long complex password.

Your options would be btcrecover (https://github.com/3rdIteration/btcrecover/) or hashcat (https://hashcat.net/hashcat/) and use the "multibit2john" script to extract the hash from the .key file and then bruteforce the hash using hashcat.
942  Bitcoin / Development & Technical Discussion / Re: Mass Private Key to Bitcoin Address Converter on: April 15, 2021, 11:06:10 PM
Can possible update code to write file output

may be good for export to file is better print out if it is massive may be 1 million or billion key it need to save to file
Cry still no answer!! people please update code to output file!!

Are you wanting the code to be updated for the private key to address converter that this thread was originally about... or for the "address to pubkey" converter that gsciservices was looking for?

For the former... You don't need to bother with opening a file and writing the output in the Python script itself. Simply redirect the output of the script to a file from the commandline... ie. for linux:
Code:
python your_script.py > your_outfile_name.txt

Windows supports something similar.


If you're wanting the address to public key... well as pooya87 noted, it's asking the impossible if the address has not been "spent" from... you cannot go from address -> public key as public key -> address uses one way hash functions.
943  Bitcoin / Bitcoin Technical Support / Re: Old wallet.dat in latest core debug info help please. on: April 15, 2021, 10:47:34 PM
Ahhhh, in that case, I suspect that the "1L5s" address might have actually been in the old wallet as a "watching only" address... and the wallet didn't contain the private key for it.

It's also possible that the file was just damaged and the private key data was unable to be extracted.
944  Bitcoin / Bitcoin Technical Support / Re: Bitcoin cli wallet unlock question on: April 15, 2021, 09:50:07 PM
Correct... Bitcoin Core is basically bitcoind with a pretty GUI on top... so anything that Bitcoin Core would do, bitcoind would also do.
945  Bitcoin / Bitcoin Technical Support / Re: Old wallet.dat in latest core debug info help please. on: April 15, 2021, 09:21:38 PM
In any case... if you can see the private key for the address you're after... what is the issue? Can't you just go and import this key into a wallet of your choosing and recover the funds? Huh

Or are you just trying to work out the technical workings of Bitcoin Core and how it goes about updating wallet files?
946  Bitcoin / Bitcoin Technical Support / Re: Bitcoin cli wallet unlock question on: April 15, 2021, 09:09:43 PM
bitcoin-cli is just the way to interact with bitcoind... it passes the commands to the bitcoind daemon and then returns the responses to you.

The wallet would already need to be loaded by bitcoind (which is essentially the same as having it loaded via the Bitcoin Core GUI) for the walletpassphrase option to work. Same with using dumpwallet with bitcoin-cli... the wallet would already need to be loaded by bitcoind.
947  Bitcoin / Electrum / Re: Seed phrase not written on hard drive if you recover a wallet on: April 15, 2021, 09:05:52 PM
Question: Besides the 8-bits checksum, is there any other difference with electrum seed generation?
Yes, you can refer here: https://electrum.readthedocs.io/en/latest/seedphrase.html

Additionally, when converting from mnemonic phrase to actual seed... Electrum uses the fixed string "electrum" rather than "mnemonic" as the beginning of the mnemonic passphrase.

Ie. if you "extend seed with extra words"... the passphrase becomes "electrumMyExtraWords"... whereas, with BIP39, it is "mnemonicMyExtraWords"
948  Bitcoin / Bitcoin Technical Support / Re: Old wallet.dat in latest core debug info help please. on: April 15, 2021, 09:00:21 PM
Is the hex view from before or after it has been upgraded by Bitcoin Core? Huh

Interestingly... the "1Cni" address that you show actually has a date of 2016... So, I'm wondering if this wallet was already "updated" at some point AFTER 2013.

I suspect the old keys from 2013 were just never used, and now that the wallet was upgraded, they were given "bc1" addresses in the wallet dump (as that is what Bitcoin Core defaults to now).

You could possibly test this, by taking a copy of the original wallet.dat that has not been opened in a new version of Bitcoin Core... and then loading it into Bitcoin Core, after starting Bitcoin Core using the -addresstype="legacy" and -changetype="legacy" options set (or addresstype="legacy" and changetype="legacy" in bitcoin.conf).

Then check the dumpwallet output to see if the 2013 keys are labelled with "1"-type legacy addresses instead of bc1 addresses.
949  Bitcoin / Wallet software / Re: Multibit HD to electrum or BRD ? on: April 15, 2021, 08:44:25 PM
So after a full (slow) sync in BRD it is showing the full 0.38 BTC that you expect to see? Huh  But Electrum and Fast Sync were showing smaller balances? Huh
950  Bitcoin / Electrum / Re: Seed phrase not written on hard drive if you recover a wallet on: April 15, 2021, 08:02:29 PM
Electrum hasn't stored BIP39 seeds since forever... it creates the xprv and stores that in the keystore in the wallet file.

It's the reason why the "Wallet - Seed" option in the GUI is greyed out once you have restored a BIP39 wallet. I vaguely recall seeing somewhere once that the reasoning was because restoring a BIP39 seed was to be able to recover funds and move to a new wallet... not to use the BIP39 wallet on an ongoing basis.
951  Bitcoin / Bitcoin Technical Support / Re: Looking for help with something I believe is an old recovery phrase/key. on: April 15, 2021, 08:31:12 AM

Do the squares actually have any text/characters/numbers in them? Or is it just a 5x10 grid of coloured squares? Huh

If they have characters... what sort of character set do you see? Is it only HEX (0-9A-F) or is it all alphanumerics? Huh
952  Bitcoin / Bitcoin Technical Support / Re: Old wallet.dat in latest core debug info help please. on: April 15, 2021, 08:26:44 AM
It would appear the old wallet.dat only had one key in it... I'm not sure if the old versions of Bitcoin Core always had a keypool of 100, or if it originally just generated keys/addresses on the fly.

It's also possible the wallet.dat was modified to delete keys... and/or it is actually a "recovered" wallet.dat from your many attempts at using PyWallet that only had 1 legacy key/address loaded in it.

Once you opened it with the latest version, it would have been loaded up with a new keypool of 1000 (which would have defaulted to the bech32 addresses) which would explain why the filesize changed.

Opening a "non-encrypted" wallet with a new version of Bitcoin Core does not automatically encrypt the wallet... you would need to explicitly set a passphrase using the "Settings -> Enncrypt wallet" option in Bitcoin Core. Also, note that "encrypting" a Bitcoin Core wallet does not actually encrypt the entire contents of the wallet (like Electrum does). ie. it is not a full file encryption... it is only the private key data that actually gets encrypted.

What makes you think the wallet.dat should have been encrypted? Huh
953  Bitcoin / Bitcoin Technical Support / Re: Old 2010 bitcoin wallet.dat on: April 15, 2021, 08:15:23 AM
So I have managed to restore my HDD and found old 2010 wallet.dat it shouldn't be encrypted but it wasn't then I deleted it because I forgot that I mined BTC back then.
So you got an old HDD working... and then deleted your old wallet.dat? Undecided


After 2years I managed to recover my wallet but befor I did that I installed bitcoin core on that same drive and download blockchain on diffrent drive when I look at properties it says creation date 2021 modification date 2010
Then you managed to recover the deleted wallet.dat... but before you recovered that deleted file, you had already installed Bitcoin Core and run it? Huh


Is it possible that it may be overwriten because before I manage to recover it I've been able to open it in text file and it was readable wallet.old
I'm a bit confused by what you've done... and what you actually have now... do you have TWO wallet.dat's? one from the recent install where you had the blockchain on the different drive... and the old "recovered" wallet.dat... or you do just have one wallet.dat? Huh


I remember when I had a piece of paper that some words were written on there and private key... I threw that paper away because I didn't know at a time it was from bitcoin there were 4 words written on there is it possible that I found encrypted wallet and could I decrypt this wallet with those 4words or back in the day bitcoin used 4word passphrase?
Possibly either the passphrase for the Bitcoin wallet, but unlikely as encryption was added in September 2012 with version 0.4.0: https://bitcoin.org/en/release/v0.4.0 and you say your wallet was from 2010... or the 4 words could also have been a "brain wallet" used to generate the private key that was also written on the paper...

In either case, it's relatively moot, as you threw the piece of paper away Undecided
954  Bitcoin / Bitcoin Technical Support / Re: Unconfirmed Stuck Transaction QT/Core / Network Synch Issue on: April 15, 2021, 08:03:30 AM
The most important consideration when making the backtup is to make sure that either:

a. You shutdown Bitcoin Core before attempting to make a backup copy of the wallet.dat file
or
b. You use the "Backup wallet" option within Bitcoin Core to make a backup copy of the wallet.dat file


If you make a copy while Bitcoin Core is busy writing data to the file, your backup copy might be corrupt and/or missing data... which could be catastrophic if you ever need to recover using the backup!

By shutting down Bitcoin Core (or using the wallet backup option within the app), you can be sure that the wallet.dat file will not be in use when you make the backup copy.
955  Bitcoin / Bitcoin Technical Support / Re: recover keys from seed on: April 15, 2021, 07:57:30 AM
Regarding berkley db, I found some article about that and I recovered several .dat files with that signature. I tried to open with pywallet --dumpwallet and they gave an error like invalid or corrupt database but one had 16kb and returned sth like PAGE_NOT_FOUND. Should all wallets be openable with pywallet or are the wallets specific to the tool which generated it? Maybe the PAGE_NOT_FOUND indicates that it is a berkley db but I'm using the wrong tool to open it?
All wallet.dat's are Berkeley DB's... but not all Berkeley DB's are wallet.dat's...

That is to say, just because you found a "random" .dat file that is a BerkeleyDB formatted file, does not mean it is a wallet.dat... what sort of filenames did these recovered files have? or did the recover software just find "random" file names? Huh

Has your friend been actively using that HDD since the file was deleted over 10 years ago??!? (from 2009/2010) Huh If so, the chances of recovering anything useful from "deleted files" is pretty much zero Undecided

Or has the old HDD just been sitting around gathering dust? Huh
956  Bitcoin / Development & Technical Discussion / Re: Pywallet 2.2: manage your wallet [Update required] on: April 15, 2021, 07:44:03 AM
If you mean for using the recovery feature of PyWallet, then the answer is no... you have to provide a passphrase for the script and it creates encrypted wallets.
957  Bitcoin / Bitcoin Technical Support / Re: Should I Run a Node? on: April 13, 2021, 06:02:57 PM
I generated the p2sh SegWit Wallet offline intially with a downloaded web site from  https://segwitaddress.org/ and then received all the inputs over time.  These inputs are comprised of all 3 formats but my total balance in my wallet is a total of all of these?  Does that make sense?
So, you only have 1 address... that starts with a "3", correct? And you've only ever received payments to this address, correct? If so, you don't have a mix of "inputs".

You will only have nested Segwit UTXOs... it doesn't make any difference what address types the funds came from... you can receive from "1"-type, "3"-type or "bc1"-type addresses... but as long as you received all your funds to that one "3" address that you generated using segwitaddress.org, then your balance will be made up entirely of p2sh (aka nested) SegWit UTXOs.

So, you don't need to worry about creating multiple wallets or anything.

Personally, I would setup the Ledger... then connect it to Electrum... then sweep the paper wallet using Electrum+Ledger. That will put all the funds directly into the Ledger in one transaction and minimise exposure of your private key etc.
958  Bitcoin / Bitcoin Technical Support / Re: Should I Run a Node? on: April 13, 2021, 05:20:25 PM
Theoretically, you should be able to setup your Ledger with Electrum... then sweep the UTXOs directly to your Ledger without needing to import them or create other wallets.


I have a p2sh SegWit BTC paper wallet and need to move it all in one transaction to a Ledger hardware wallet.  I need to get it off paper and into a proper, secure BIP39 wallet.  This is over 30 inputs and a mix of all 3 formats (Legacy, SegWit and Native SegWit) with a total raw data size of well over 30,000 bytes.  This is also a life-changing amount of BTC.
If you don't mind me asking... how did you end up with a mix of input types when you have "a p2sh SegWit BTC paper wallet"? Huh When you created the paper wallet did you also derive all 3 address types from the one private key and then sent coins to those addresses over time? Huh
959  Bitcoin / Bitcoin Technical Support / Re: 32 number and letter private key on: April 13, 2021, 04:35:54 PM
You're wasting your time trying to open these files in a text editor and find anything useful... they're binary data files.

As far as I can tell, the .tlb is most likely a "Type Library Binary" refer: https://docs.microsoft.com/en-us/windows/win32/com/type-library-viewers-and-conversion-tools

It just contains information on the various programming language objects that the application used and the various functions/methods that could be called. It is not a wallet and will not contain any wallet information.


The .dat file is likely also a binary file of some description... but it is impossible to say what the data format is... .dat is a very generic extension that a lot of different applications use to store data in. I doubt it is the same format as a "wallet.dat" from Bitcoin Core... and I would guess that the similarity between what you see in the text editor and an "ECDSA" key is just coincidence.

It *might* be some form of Base64 encoded text... but without seeing the full data it is impossible to tell...

In any case, you'd likely need the original application executable to do anything meaningful with these files... and it appears you only have the data files and not the application itself and I cannot find any reference to any "Bitsave" wallet application on the web.
960  Other / Beginners & Help / Re: How to sign a message?! on: April 13, 2021, 04:14:54 PM
If you never deposited money to Freebitco.in, or you deposited from an exchange account or other service where you do not control the private keys, then you will not be able to sign a message from that address.

You have had an account on here since 2018, but obviously have not been active and have never staked an address or listed publicly a wallet address that you own.

You will need to talk to their support and advise them of this and see what other options you have for account recovery. In any case, posting in this thread is NOT what you should be doing.
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 514 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!