Author

Topic: Private key to bitcoina ddress on Windows 95 (Read 5426 times)

full member
Activity: 209
Merit: 148
January 12, 2015, 03:37:56 PM
#85
I'd love to try this program again, it seems to be just what I need right now. Does anyone still have a copy for me to download?
legendary
Activity: 1092
Merit: 1016
760930
February 01, 2014, 05:55:55 AM
#84
Now i can use the clipboard as input but i have only gotten an output to the clipboard once and the output was the private key that i entered.

Strange. This will be tricky to troubleshoot without having my own Win95 test system...
I will see I can find an alternative implementation.
newbie
Activity: 38
Merit: 0
Now i can use the clipboard as input but i have only gotten an output to the clipboard once and the output was the private key that i entered.
legendary
Activity: 1092
Merit: 1016
760930
I just cleaned up the bat files to remove any possibly problematic features. Hopefully this will fix it:

  http://trax.x10.mx/bgen-025-win95.7z


Code:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iEYEABECAAYFAlLsAlMACgkQ0dQqIfkZdf6FEgCfcbPVULQinOL3yuwwGF0hiJGk
d04AoLUfMxLvGZU6DpMi7XS0DfBis6hT
=mL1C
-----END PGP SIGNATURE-----
legendary
Activity: 1092
Merit: 1016
760930
Something is wrong, when i open the console it tells me that there was an error when a file should be created.

Not sure what this is about... Probably some other win95-specific thing. Could you post a screenshot? It's OK if it's in Swedish.
newbie
Activity: 38
Merit: 0
Something is wrong, when i open the console it tells me that there was an error when a file should be created.
legendary
Activity: 1092
Merit: 1016
760930
btw why he is using win 95 and what actıally he tries to do  Roll Eyes he can buy a new computer has win xp for 0.1 btc already

I guess i am just paranoid about modern computers being monitored even when they are so called "offline".

Flatfly, can you please update the link? It gives a 404 error now.

Hi, I thought you had downloaded it already.
Here's a fresh link: http://trax.x10.mx/bgen-023-win95.7z
I hope it works as expected on your system.
newbie
Activity: 38
Merit: 0
btw why he is using win 95 and what actıally he tries to do  Roll Eyes he can buy a new computer has win xp for 0.1 btc already

I guess i am just paranoid about modern computers being monitored even when they are so called "offline".

Flatfly, can you please update the link? It gives a 404 error now.
legendary
Activity: 1092
Merit: 1016
760930
Ya ! AH he eeh ehaha , it works, nice!

Edit: I have sent you 0.1btc,  will you work on the clipboard function now? Smiley

Great, thanks!
I will work on the clipboard function - expect an update within the next few days.

Added clipboard support in the latest version. This means 2 new behaviors:

1. if you just type 'bgen' without a hex number, the tool will process whatever input is in the clipboard at that time (if it's a valid hex number)
2. output is automatically copied to the clipboard in all cases

You can get it from here (temporary link):

http://trax.x10.mx/bgen-022-win95.7z

Does that work for you?
hero member
Activity: 969
Merit: 1000
btw why he is using win 95 and what actıally he tries to do  Roll Eyes he can buy a new computer has win xp for 0.1 btc already
legendary
Activity: 1092
Merit: 1016
760930
Ya ! AH he eeh ehaha , it works, nice!

Edit: I have sent you 0.1btc,  will you work on the clipboard function now? Smiley

Great, thanks!
I will work on the clipboard function - expect an update within the next few days.
newbie
Activity: 38
Merit: 0
I just chopped some functions and features out of paperwal.py so it would run on Python 2.5, if you are interested in that as a paper wallet generator. I just have to get it back out of the python playground box... I've cythoned it but haven't gotten a win95 compiler working yet to make an exe.

Nah, i'm not really interested in that, i rather just write the private key in hex with a pen.
legendary
Activity: 1512
Merit: 1036
I just chopped some functions and features out of paperwal.py so it would run on Python 2.5, if you are interested in that as a paper wallet generator. I just have to get it back out of the python playground box... I've cythoned it but haven't gotten a win95 compiler working yet to make an exe.
newbie
Activity: 38
Merit: 0
Ya ! AH he eeh ehaha , it works, nice!

Edit: I have sent you 0.1btc,  will you work on the clipboard function now? Smiley
legendary
Activity: 1092
Merit: 1016
760930

I think I know what this is.  I will post a fix within an hour.

There we go... Hopefully this is the one!   http://trax.x10.mx/bgen-win95.7z

Always a challenge to get modern things to work seamlessly on an old OS... But I'm enjoying the challenge. Smiley

Code:
C:\BGEN-W~1\BGEN-W~1\APP>bgen abcdef

(priv) hex: 0000000000000000000000000000000000000000000000000000000000abcdef
(priv) wif: 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEzNFtMxLtud
(pub) addr: 1JybS2Pnp5fxHr2TKWk3nZpRwgpnVhmgiZ
legendary
Activity: 1092
Merit: 1016
760930

I think I know what this is.  I will post a fix within an hour.
newbie
Activity: 38
Merit: 0
http://imgur.com/6BhHMUz <_<

Edit: abcdef are hexadecimal digits, right?
legendary
Activity: 1092
Merit: 1016
760930
I typed: "bgen 129361263abdf" but an error messages appears saying it can't find MSVCR71.DLL.

Does it have to be 64 digits or does it add zeroes to it if it's not?

Yes, it does add leading zeroes if the input is shorter than 64 digits.
I have now included MSVCR71.DLL in the archive for your convenience - Please re-download the package one more time.
newbie
Activity: 38
Merit: 0
I typed: "bgen 129361263abdf" but an error messages appears saying it can't find MSVCR71.DLL.

Does it have to be 64 digits or does it add zeroes to it if it's not?
legendary
Activity: 1092
Merit: 1016
760930
This appears: c:\bgen-win95\App, and i can type after that.

That's good. But the instructions are not displayed, apparently...
Anyway, here's how to use the tool:

just type:

bgen

For instance:

Code:
bgen 6299c8dc7a92448a6f926b323f108fd338245e6ac1f0f54f234f859a1f11f78b

should output:

Code:
(priv) hex: 6299c8dc7a92448a6f926b323f108fd338245e6ac1f0f54f234f859a1f11f78b
(priv) wif: 5JZiCpWZjmvJQEe7HYVEyW88aEy9dGsSLn88BYaFS4mkxAQvmyR
(pub) addr: 1Gt8qfV1nSL6rS5zsXN8cNCq7ZdpG2JrWX
newbie
Activity: 38
Merit: 0
This appears: c:\bgen-win95\App, and i can type after that.

Edit: Btw, alt+shift+7 doesn't work for backslash, nor does AltGr+7. Ctrl-alt+7 works, but not in my MS-DOS.
legendary
Activity: 1092
Merit: 1016
760930
I have renamed them.

This happens when i start bgen_console.bat: http://imgur.com/TMV5mPF.

I see... The screenshot was helpful. Please re-download the package - I have just added a fix for this issue (hopefully!). I think we're almost there.

URL:  http://trax.x10.mx/bgen-win95.7z

Size: 965K (988,898 bytes)
newbie
Activity: 38
Merit: 0
I have renamed them.

This happens when i start bgen_console.bat: http://imgur.com/TMV5mPF.
legendary
Activity: 1092
Merit: 1016
760930
You can get the tool from:   http://trax.x10.mx/bgen-win95.7z

The size of the package is 963K and the GPG signature is below.
Of course all source code is included.

I have repackaged it differently, so you can simply unzip the archive and click the "bgen_console.cmd" file in the App folder. Let me know if that works for you.


Code:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iEYEABECAAYFAlLgBQ0ACgkQ0dQqIfkZdf470ACeK7VRpZvxD8seglJe3OFH2d8H
wjMAoIRJTasfrodGqtKFPledpatFyI/3
=8bg6
-----END PGP SIGNATURE-----

I have unziped it but bgen_console.cmd asks for a program to be opened with.

What is the GPG for?

Ah, cmd files are not supported in Win95... Simply rename both cmd files to a bat extension, so you end up with:



Hopefully that will fix it.

The GPG sig is to verify the integrity and author of the package. If you're not familiar with using GPG, it's probably best to ignore this for now, as there's a bit of a learning curve...
newbie
Activity: 38
Merit: 0
You can get the tool from:   http://trax.x10.mx/bgen-win95.7z

The size of the package is 963K and the GPG signature is below.
Of course all source code is included.

I have repackaged it differently, so you can simply unzip the archive and click the "bgen_console.cmd" file in the App folder. Let me know if that works for you.


Code:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iEYEABECAAYFAlLgBQ0ACgkQ0dQqIfkZdf470ACeK7VRpZvxD8seglJe3OFH2d8H
wjMAoIRJTasfrodGqtKFPledpatFyI/3
=8bg6
-----END PGP SIGNATURE-----

I have unziped it but bgen_console.cmd asks for a program to be opened with.

What is the GPG for?
legendary
Activity: 1092
Merit: 1016
760930
You can get the tool from:   http://trax.x10.mx/bgen-win95.7z

The size of the package is 963K and the GPG signature is below.
Of course all source code is included.

I have repackaged it differently, so you can simply unzip the archive and click the "bgen_console.cmd" file in the App folder. Let me know if that works for you.


Code:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iEYEABECAAYFAlLgBQ0ACgkQ0dQqIfkZdf470ACeK7VRpZvxD8seglJe3OFH2d8H
wjMAoIRJTasfrodGqtKFPledpatFyI/3
=8bg6
-----END PGP SIGNATURE-----
legendary
Activity: 1092
Merit: 1016
760930
Ok i will be able to post the package in an hour or so. Launching the new script will also be more user-friendly...

Okey, will 0.1btc be enough for a qr-code function?

Edit: If that's difficult to do, maybe you know a good website that i can download.

I've tried: http://www.wolframalpha.com/input/?i=bitcoin%3A1NYsMtFgaSWvcTg4sM5fRGSZTcZcSkXsYM%3Famount%3D0.01%26amp%3Blabel%3DDonation+qr+code but it doesn't work.

Plenty of existing Python libraries can already do that - so essentially, the hard part is finding a way to make them work under Win 95. I could take a look at this as well, but most probably not this week I'm afraid. Donate whatever you feel is fair / nice.
newbie
Activity: 38
Merit: 0
Ok i will be able to post the package in an hour or so. Launching the new script will also be more user-friendly...

Okey, will 0.1btc be enough for a qr-code function?

Edit: If that's difficult to do, maybe you know a good website that i can download.

I've tried: http://www.wolframalpha.com/input/?i=bitcoin%3A1NYsMtFgaSWvcTg4sM5fRGSZTcZcSkXsYM%3Famount%3D0.01%26amp%3Blabel%3DDonation+qr+code but it doesn't work.
legendary
Activity: 1092
Merit: 1016
760930
Ok i will be able to post the package in an hour or so. Launching the new script will also be more user-friendly...
full member
Activity: 209
Merit: 148
I am reminded of the directory separator being a different character in Japanese DOS, "¥", and this is likely the case on the Swedish localized Win95, that there is a particular key to be used in different language. A localized keyboard with English Windows may have similar problems.

In the Japanese encodings ISO 646 (a 7-bit code based on ASCII), JIS X 0201 (an 8-bit code), and Shift JIS (a multi-byte encoding which is 8-bit for ASCII), the code point 0x5C that would be used for backslash in ASCII is instead rendered as a yen mark (¥), while in Korean encoding, it is drawn as a won currency symbol (₩). Computer programs still treat the code as a backslash in these environments, causing confusion, especially in MS-DOS filenames.[13] Due to extensive use of the backslash code point to represent the yen mark, even today some Unicode fonts like MS Mincho render the backslash character as a ¥, so the Unicode characters 00A5 (¥) and 005C (\) look identical when these fonts are selected. Several other ISO 646 versions also replace backslash with characters like Ö (German, Swedish), Ø (Danish, Norwegian), ç (French) and Ñ (Spanish), leading to similar problems. Since the character was originally not available in all character sets and keyboard layouts, ANSI C can transcribe it in form of the trigraph ??/ which, outside string literals, is equivalent to the \ character. RFC 1345 recommends to transcribe the character as digraph //, if not available.[14]

alt+shift+7 is apparently how you type \ on a Swedish keyboard if you need that character.

Or: AltGr + should work too
legendary
Activity: 1512
Merit: 1036
I am reminded of the directory separator being a different character in Japanese DOS, "¥", and this is likely the case on the Swedish localized Win95, that there is a particular key to be used in different language. A localized keyboard with English Windows may have similar problems.

In the Japanese encodings ISO 646 (a 7-bit code based on ASCII), JIS X 0201 (an 8-bit code), and Shift JIS (a multi-byte encoding which is 8-bit for ASCII), the code point 0x5C that would be used for backslash in ASCII is instead rendered as a yen mark (¥), while in Korean encoding, it is drawn as a won currency symbol (₩). Computer programs still treat the code as a backslash in these environments, causing confusion, especially in MS-DOS filenames.[13] Due to extensive use of the backslash code point to represent the yen mark, even today some Unicode fonts like MS Mincho render the backslash character as a ¥, so the Unicode characters 00A5 (¥) and 005C (\) look identical when these fonts are selected. Several other ISO 646 versions also replace backslash with characters like Ö (German, Swedish), Ø (Danish, Norwegian), ç (French) and Ñ (Spanish), leading to similar problems. Since the character was originally not available in all character sets and keyboard layouts, ANSI C can transcribe it in form of the trigraph ??/ which, outside string literals, is equivalent to the \ character. RFC 1345 recommends to transcribe the character as digraph //, if not available.[14]

alt+shift+7 is apparently how you type \ on a Swedish keyboard if you need that character.

Another fun fact, the Apple ⌘ character is "tourist attraction" in Sweden.
legendary
Activity: 1092
Merit: 1016
760930
It worked! Hah!

Here is the result: http://imgur.com/TiDJZuV

Great! I will post the actual script shortly. You can save it into the App folder and run it in the same way as nobrainr.

If you're happy with it and decide to make a fair donation, I can spend more time on it to see how to add clipboard support!
newbie
Activity: 38
Merit: 0
It worked! Hah!

Here is the result: http://imgur.com/TiDJZuV
legendary
Activity: 1148
Merit: 1001
things you own end up owning you



Edited: I just had to look again and this is the right one, can you confirm ?

I've tried that button, also that button with ctrl+alt, also that button with shift.

I will go to work in 20 minutes.


OK type in your browser the backslash then copy it and open the cmd and past it this way:


right click on the menu bar


 




newbie
Activity: 38
Merit: 0
https://i.imgur.com/8ONuVFZ.png


Edited: I just had to look again and this is the right one, can you confirm ?

I've tried that button, also that button with ctrl+alt, also that button with shift.

I will go to work in 20 minutes.
newbie
Activity: 38
Merit: 0
I can type backslash on internetexplorer but i can't copy it to MS-DOS(^V appears) and ALT-Q doesn't work. T_T
legendary
Activity: 1148
Merit: 1001
things you own end up owning you



Edited: I just had to look again and this is the right one, can you confirm ?
legendary
Activity: 1092
Merit: 1016
760930
http://imgur.com/gsoZXWj

I'm probably doing something wrong.

Edit: It's Swedish btw, i live in Sweden.

Edit2: I can only do frontslash, not backslash.

There's your issue... You do need the backslash.  As a quick hack you could copy paste it from here? \
legendary
Activity: 1512
Merit: 1036

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py

I have opened the MS-DOS-promt with Start Menu/Run/command.

When i use python.exe the MS-DOS-promt changes name to PYTHON.

Aren't you supposed to give me your script now, or do i already have it?

Good to know that python is working, but please try to run nobrainr.py as described in my previous post to see if the ecdsa library is working fine on win95.

Depending on the results you get, I will adapt the new script and post it for you.  



NoBrainr.py asks for a program to be opened with.
cd "place where you unzipped the nobrainr.py"
c:\python25\python.exe nobrainr.py

This is the reason newer versions don't work:
http://wishmesh.com/2009/09/microsoft-visual-c-supported-target-windows-versions/

Python 2.7, for example, is built with MSVC 2008, and 3.x with MSVC 2010.

I spend a very brief time looking into old C compilers that can make small DOS executables, such as released-as-freeware Borland Turbo C++ 3.0. It is conceivable to do address creation on very small DOS exes from a floppy, which also enables boot cd as floppy image, if you were to do the programming. You would need 16-bit friendly ECDSA and SHA256/RIPEMD160 code. DOS also allows easy printing to LPT port.
newbie
Activity: 38
Merit: 0
http://imgur.com/gsoZXWj

I'm probably doing something wrong.

Edit: It's Swedish btw, i live in Sweden.

Edit2: I can only do frontslash, not backslash.
legendary
Activity: 1092
Merit: 1016
760930

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py

I have opened the MS-DOS-promt with Start Menu/Run/command.

When i use python.exe the MS-DOS-promt changes name to PYTHON.

Aren't you supposed to give me your script now, or do i already have it?

Good to know that python is working, but please try to run nobrainr.py as described in my previous post to see if the ecdsa library is working fine on win95.

Depending on the results you get, I will adapt the new script and post it for you. 



NoBrainr.py asks for a program to be opened with.

That's strange...

Even when running it with the following command?
..\python.exe NoBrainr.py

Can you post a screenshot?
newbie
Activity: 38
Merit: 0

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py

I have opened the MS-DOS-promt with Start Menu/Run/command.

When i use python.exe the MS-DOS-promt changes name to PYTHON.

Aren't you supposed to give me your script now, or do i already have it?

Good to know that python is working, but please try to run nobrainr.py as described in my previous post to see if the ecdsa library is working fine on win95.

Depending on the results you get, I will adapt the new script and post it for you. 



NoBrainr.py asks for a program to be opened with.
legendary
Activity: 1092
Merit: 1016
760930

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py

I have opened the MS-DOS-promt with Start Menu/Run/command.

When i use python.exe the MS-DOS-promt changes name to PYTHON.

Aren't you supposed to give me your script now, or do i already have it?

Good to know that python is working, but please try to run nobrainr.py as described in my previous post to see if the ecdsa library is working fine on win95.

Depending on the results you get, I will adapt the new script and post it for you. 

newbie
Activity: 38
Merit: 0

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py

I have opened the MS-DOS-promt with Start Menu/Run/command.

When i use python.exe the MS-DOS-promt changes name to PYTHON.

Aren't you supposed to give me your script now, or do i already have it?
legendary
Activity: 3640
Merit: 1571
I want to be able to use the clipboard for input and output.

What?? Linux has a clipboard too.

When did he mention Linux? And the condescending tone of your comments is sometimes annoying. Please stop doing that.

Hey feel free to add me to your ignore list. But I will continue to post what I like.
legendary
Activity: 1092
Merit: 1016
760930
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

I want to generate the private keys myself

Oh, I see you are generating the private keys manually using dice? So you just want to do the EC math and hashing on the Win 95 computer? Unique use case.

You know if I were in your situation I would worry about whether the address corresponds with the private key you have. Using well tested, widely used software gives you at least some degree of comfort that the hashing is done correctly. Not sure the same can be said about bespoke one off scripts.

Converting a hex number to a bitcoin address does not require a very complex script, and I've actually worked with that for a couple years now... Also my scripts use the python-ecdsa library for the more critical parts, which has been battle tested in the field (by electrum).

And finally the integrity of the result could be cross-checked using the verifymessage function of bitcoind or electrum (for instance).

Your script will sign messages too? He will need the private key to sign messages and since the private key is not supposed to leave the offline system he will need message signing software installed on that offline system. Not sure whether bitcoin-qt/d or electrum will work on Win 95 so your script will have to do the signing. The verification he can do on his online system, no problem.

My script doesn't sign messages but doesn't need to: there's the excellent PyWallet for that. I'm not 100% sure, but based on a first look at the code, I think it should work under Win95.
legendary
Activity: 1092
Merit: 1016
760930

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?

Open a command prompt (Start Menu/Run/"cmd")
then type:
 cd Path\to\App  (eg: cd c:\python25\app\)
and finally:
 ..\python.exe NoBrainr.py
full member
Activity: 209
Merit: 148
I want to be able to use the clipboard for input and output.

What?? Linux has a clipboard too.

When did he mention Linux? And the condescending tone of your comments is sometimes annoying. Please stop doing that.
legendary
Activity: 3640
Merit: 1571
I want to be able to use the clipboard for input and output.

What?? Linux has a clipboard too.
newbie
Activity: 38
Merit: 0
I want to be able to use the clipboard for input and output.
full member
Activity: 209
Merit: 148
I didn't read all posts, but seriously windows 95 ? why ?

if you are just playing around and not that you cant afford a new PC that can run windows 7 or Ubuntu 12.04 then I really want to know why Win95 ?

if you are from EU and if you can not afford a new PC I can donate a used machine that I do not use anymore, it has a Core2Duo 2.33 GHz and 3GB DDR2, and 320 or 500 GB (don't remember) and it is a Lenovo SFF that comes with windows Vista licence that you can downgrade to win XP if you wish.

Thank you for the offer, but i'm fine Smiley

Older machines maybe have less surveillance on them like these: http://news.cnet.com/8301-13578_3-57617244-38/nsa-reportedly-using-radio-waves-to-tap-offline-computers/

So you are so security paranoid (above article) yet deciding to use still a very old operating system with guaranteed holes and flaws in... Ok bud; good luck!

Using an antiquated OS actually does make some sense in this context.  Provided it is used on an airgapped machine, of course.
sr. member
Activity: 302
Merit: 250
I didn't read all posts, but seriously windows 95 ? why ?

if you are just playing around and not that you cant afford a new PC that can run windows 7 or Ubuntu 12.04 then I really want to know why Win95 ?

if you are from EU and if you can not afford a new PC I can donate a used machine that I do not use anymore, it has a Core2Duo 2.33 GHz and 3GB DDR2, and 320 or 500 GB (don't remember) and it is a Lenovo SFF that comes with windows Vista licence that you can downgrade to win XP if you wish.

Thank you for the offer, but i'm fine Smiley

Older machines maybe have less surveillance on them like these: http://news.cnet.com/8301-13578_3-57617244-38/nsa-reportedly-using-radio-waves-to-tap-offline-computers/

So you are so security paranoid (above article) yet deciding to use still a very old operating system with guaranteed holes and flaws in... Ok bud; good luck!
legendary
Activity: 3640
Merit: 1571
The script does not need to sign messages.

When i want to spend the coins i will import the private key to an online system.

I was referring to flatfly's post above where he talks about how a message signature would provide proof of the correct address.
newbie
Activity: 38
Merit: 0

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py


I don't understand this part.

I have located the app folder but then what?
newbie
Activity: 38
Merit: 0
The script does not need to sign messages.

When i want to spend the coins i will import the private key to an online system.
legendary
Activity: 3640
Merit: 1571
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

I want to generate the private keys myself

Oh, I see you are generating the private keys manually using dice? So you just want to do the EC math and hashing on the Win 95 computer? Unique use case.

You know if I were in your situation I would worry about whether the address corresponds with the private key you have. Using well tested, widely used software gives you at least some degree of comfort that the hashing is done correctly. Not sure the same can be said about bespoke one off scripts.

Converting a hex number to a bitcoin address does not require a very complex script, and I've actually worked with that for a couple years now... Also my scripts use the python-ecdsa library for the more critical parts, which has been battle tested in the field (by electrum).

And finally the integrity of the result could be cross-checked using the verifymessage function of bitcoind or electrum (for instance).

Your script will sign messages too? He will need the private key to sign messages and since the private key is not supposed to leave the offline system he will need message signing software installed on that offline system. Not sure whether bitcoin-qt/d or electrum will work on Win 95 so your script will have to do the signing. The verification he can do on his online system, no problem.
newbie
Activity: 38
Merit: 0
Python seems to work Smiley

NoBrainr.py still asks for a program to be opened with.

See you later or tomorrow.

Edit: i wanna sleep, let's call it a day.

legendary
Activity: 1092
Merit: 1016
760930
Folders always need to be archived to be downloaded...
Perhaps you will have more luck with 7z:

http://downloads.sourceforge.net/sevenzip/7z920.exe
http://www.7-zip.org/

It's just 1MB and open source.

I will need to go offline now but will be back a bit later, or tomorrow (not sure yet)
newbie
Activity: 38
Merit: 0
My script is almost complete.

Here's what it looks like.  The source code is around 30 lines.  Hopefully, this is what you are looking for.



That does look neat!

Sadly i'm stuck trying to unzip it, how embarrassing, so far i've tried http://gnuwin32.sourceforge.net/downlinks/unzip.php but i can't find the .exe file after i install it.

Can you maybe make it downloadable as a folder?

Edit: nevermind! I manged to unzip it

Edit2: Yup, 7z did the trick
legendary
Activity: 1092
Merit: 1016
760930
My script is almost complete.

Here's what it looks like.  The source code is around 30 lines.  Hopefully, this is what you are looking for.

legendary
Activity: 1092
Merit: 1016
760930
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

I want to generate the private keys myself

Oh, I see you are generating the private keys manually using dice? So you just want to do the EC math and hashing on the Win 95 computer? Unique use case.

You know if I were in your situation I would worry about whether the address corresponds with the private key you have. Using well tested, widely used software gives you at least some degree of comfort that the hashing is done correctly. Not sure the same can be said about bespoke one off scripts.

Converting a hex number to a bitcoin address does not require a very complex script, and I've actually worked with that for a couple years now... Also my scripts use the python-ecdsa library for the more critical parts, which has been battle tested in the field (by electrum).

And finally the integrity of the result could be cross-checked using the verifymessage function of bitcoind or electrum (for instance).
legendary
Activity: 3640
Merit: 1571
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

I want to generate the private keys myself

Oh, I see you are generating the private keys manually using dice? So you just want to do the EC math and hashing on the Win 95 computer? Unique use case.

You know if I were in your situation I would worry about whether the address corresponds with the private key you have. Using well tested, widely used software gives you at least some degree of comfort that the hashing is done correctly. Not sure the same can be said about bespoke one off scripts.
legendary
Activity: 1092
Merit: 1016
760930
OK, here you go: a zip file with a portable Python 2.5.4, that you can unzip to any folder on your Win95 machine. I've also added NoBrainr in there so you can see if it works. (The "App" subfolder)

So once this is unzipped, just cd to that App folder, and type:
..\python.exe NoBrainr.py

If you get output similar to the below line, it means everything's fine and I can proceed with the actual script...

Code:
1G2YmiFZmhrQvvCPapTSXLoXF6Dm6FVWSm == fonts night lab! canon atop dx madly
newbie
Activity: 38
Merit: 0
I didn't read all posts, but seriously windows 95 ? why ?

if you are just playing around and not that you cant afford a new PC that can run windows 7 or Ubuntu 12.04 then I really want to know why Win95 ?

if you are from EU and if you can not afford a new PC I can donate a used machine that I do not use anymore, it has a Core2Duo 2.33 GHz and 3GB DDR2, and 320 or 500 GB (don't remember) and it is a Lenovo SFF that comes with windows Vista licence that you can downgrade to win XP if you wish.

Thank you for the offer, but i'm fine Smiley

Older machines maybe have less surveillance on them like these: http://news.cnet.com/8301-13578_3-57617244-38/nsa-reportedly-using-radio-waves-to-tap-offline-computers/
legendary
Activity: 1148
Merit: 1001
things you own end up owning you
I didn't read all posts, but seriously windows 95 ? why ?

if you are just playing around and not that you cant afford a new PC that can run windows 7 or Ubuntu 12.04 then I really want to know why Win95 ?

if you are from EU and if you can not afford a new PC I can donate a used machine that I do not use anymore, it has a Core2Duo 2.33 GHz and 3GB DDR2, and 320 or 500 GB (don't remember) and it is a Lenovo SFF that comes with windows Vista licence that you can downgrade to win XP if you wish.
legendary
Activity: 1092
Merit: 1016
760930
You need to install MSI support for Win95:
EDIT: Link offline.. Sad

I will make and upload a zip of the proper Python runtime...
newbie
Activity: 38
Merit: 0
When i run NoBrainr/1.052/c_/Python27/python.exe it tells me it needs a later version of Windows
: /

OK, thanks for your feedback. To resolve this, I would suggest that you install Python 2.5.4, which is the latest version of Python that supports win 95 and is available at http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi

If this installation completes without errors, copy the entire 'App' folder from the NoBrainr installation under the Python2.5.4 location and try to run NoBrainr script from the command line - something along the lines of:
 ..\python.exe NoBrainr.py

When i double-click python-2[1].5.4.msi it asks for a program to open it with, hm..

do a net install ... of linux if you don't have CD reader.
http://www.linuxjournal.com/content/slimline-debian-install-its-easier-you-might-think

Interesting Smiley i will try that is flatflys method doesn't work

I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

It seems OP doesn't want the Win95 machine to generate the privkeys - just to convert a hex input into a bitcoin address - if I understand the top post correctly.

That is correct.
full member
Activity: 209
Merit: 148
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

It seems OP doesn't want the Win95 machine to generate the privkeys - just to convert a hex input into a bitcoin address - if I understand the top post correctly.
legendary
Activity: 1512
Merit: 1012
do a net install ... of linux if you don't have CD reader.
http://www.linuxjournal.com/content/slimline-debian-install-its-easier-you-might-think
newbie
Activity: 38
Merit: 0
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.

I want to generate the private keys myself
legendary
Activity: 3640
Merit: 1571
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.

Well the problem is that with a Windows version that old you don't even know whether you are getting cryptographically secure private keys. MS software that old did have a weak random number generator if I remember correctly.

You know you can install Linux on old computers. A debian wheezy + xfce installation uses barely any resources. Not sure how feasible that might be for you though. Depends on your skill level.
newbie
Activity: 38
Merit: 0
Cool use LiveCD (linux) on Win95 machine ... that's the right thing to do. Grin

Great idea! hah hm..

.. damn, it has no floppy drive

[/quote]

OK, thanks for your feedback. To resolve this, I would suggest that you install Python 2.5.4, which is the latest version of Python that supports win 95 and is available at http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi

If this installation completes without errors, copy the entire 'App' folder from the NoBrainr installation under the Python2.5.4 location and try to run NoBrainr script from the command line - something along the lines of:
 ..\python.exe NoBrainr.py
[/quote]

I'm working on it
legendary
Activity: 1092
Merit: 1016
760930
Cool use LiveCD (linux) on Win95 machine ... that's the right thing to do. Grin

Also a good idea, of course Smiley
legendary
Activity: 1092
Merit: 1016
760930
When i run NoBrainr/1.052/c_/Python27/python.exe it tells me it needs a later version of Windows
: /

OK, thanks for your feedback. To resolve this, I would suggest that you install Python 2.5.4, which is the latest version of Python that supports win 95 and is available at http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi

If this installation completes without errors, copy the entire 'App' folder from the NoBrainr installation under the Python2.5.4 location and try to run NoBrainr script from the command line - something along the lines of:
 ..\python.exe NoBrainr.py
legendary
Activity: 1512
Merit: 1012
 Cool use LiveCD (linux) on Win95 machine ... that's the right thing to do. Grin
newbie
Activity: 38
Merit: 0
I had the computer lying around, i though i would generate addresses offline with it and then keep it offline in case there is a virus that can upload the addresses that the computer generated offline once it gets online again.
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
OP, may I ask why Windows 95? Isn't that like two decades old?
newbie
Activity: 38
Merit: 0
When i run NoBrainr/1.052/c_/Python27/python.exe it tells me it needs a later version of Windows
: /
newbie
Activity: 38
Merit: 0
I get this error message when i press nb_1052.exe

http://imgur.com/I0vtadA
legendary
Activity: 1092
Merit: 1016
760930
I will run NoBrainr and see what happends.

I will make a donation when the program works.

OK, sounds good - I will wait for your feedback on running NoBrainr before starting.
If you get no errors, I should be able to make the script you need quite fast, as it will easily build on the Python libraries included in the NoBrainr package.
newbie
Activity: 38
Merit: 0
I will run NoBrainr and see what happends.

I will make a donation when the program works.
legendary
Activity: 1092
Merit: 1016
760930
please do Smiley

It will be offline and will continue to be offline when i can generate the addresses.

Sorry, I spoke a little too fast. I need to mention that I will only have time to do this by next weekend, not earlier - unless you really need this urgently and are willing to make a donation.

Also, to be sure that your system is able to run Python 2.7 scripts involving EC math, a good and quick test would be to see if my NoBrainr tool is working for you. If it gives any errors, please post them here.

NoBrainr thread: https://bitcointalksearch.org/topic/nobrainr-a-secure-and-transparent-cold-address-generator-in-1024-bytes-308972
newbie
Activity: 38
Merit: 0
please do Smiley

It will be offline and will continue to be offline when i can generate the addresses.
legendary
Activity: 1092
Merit: 1016
760930
I can make a small script for you if you can't find anything.

I hope your Windows 95 machine is offline by the way - is it?
newbie
Activity: 38
Merit: 0
I want to be able to calculate a bitcoin address from a hex-private key of my choosing on windows 95.

I have tried bitaddress.org but it just doesn't work, it takes over a minute to load and all i get is a public key and a small qr-code.

I've also tried https://blockchain.info/sv/q/addrpubkey but i can't even load that page.

Help me!
Jump to: