Bitcoin Forum
April 24, 2024, 03:17:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 »
  Print  
Author Topic: [ANN] bitaddress.org Safe JavaScript Bitcoin address/private key  (Read 152996 times)
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 11, 2011, 02:41:18 AM
 #121

I don't think there exists such thing as a "standard format" in base58 that's < 51 characters.  The standard base58 format is the sipa wallet import format.  I also wouldn't offer it in base64 unless something else uses it prominently (e.g. OpenSSL, but OpenSSL uses hex).  These unused formats will just serve to confuse people.

Also, hexadecimal is misspelled on the actual website.

LOL. I guess Standard Format didn't exist until MagicalTux created it... maybe I'm adding to the problem. I don't want to cause confusion.
Mtgox still doesn't work with WIF. I added the base64 only because it was available in the .toString() method for the ECKey and I assumed Stephan had a reason for that. I'm going to double check Mtgox works with hex. Hopefully they fix the WIF bug soon. Did MtGox stop accepting in the "standard format"? Because I tried it a few days ago and it worked.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
1713971837
Hero Member
*
Offline Offline

Posts: 1713971837

View Profile Personal Message (Offline)

Ignore
1713971837
Reply with quote  #2

1713971837
Report to moderator
1713971837
Hero Member
*
Offline Offline

Posts: 1713971837

View Profile Personal Message (Offline)

Ignore
1713971837
Reply with quote  #2

1713971837
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713971837
Hero Member
*
Offline Offline

Posts: 1713971837

View Profile Personal Message (Offline)

Ignore
1713971837
Reply with quote  #2

1713971837
Report to moderator
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 11, 2011, 02:42:19 AM
 #122

v1.0
https://www.bitaddress.org/bitaddress.org-v1.0-SHA1-8fc60a3ca4eb24c85c31b264e95a9298e41032c2.html
- Added Wallet Details tab. View your private key in the various formats.
Cool. Another way to convert. I don't have a "mini-key" to test but if you put that in will it also give you the other formats?

Yes, a little Easter Egg for Casascius Tongue

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
October 11, 2011, 02:45:31 AM
 #123

MtGox only accepted that format because MagicalTux was confused as to how the format worked.  Nothing generates keys in that format, and quite frankly there is no advantage to doing it because it takes away the error checking for no good reason.  It would be best not to propagate new formats for keys that don't serve any particular purpose, otherwise everybody will have to support them for everything.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
nmat
Hero Member
*****
Offline Offline

Activity: 602
Merit: 501


View Profile
October 11, 2011, 04:07:24 AM
 #124

Is there any known reason why this does not work in mobile safari? The gen key function seems to be called and the CPU seems to be chugging along for 4-5s but nothing is displayed past "move your mouse". I tried to step through the js execution and think the script halted at one one of underlying crypto functions.   


Try Opera Mini. It works on my iPod 2G.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
October 11, 2011, 04:12:34 AM
 #125

I don't think there exists such thing as a "standard format" in base58 that's < 51 characters.  The standard base58 format is the sipa wallet import format.  I also wouldn't offer it in base64 unless something else uses it prominently (e.g. OpenSSL, but OpenSSL uses hex).  These unused formats will just serve to confuse people.

Also, hexadecimal is misspelled on the actual website.

LOL. I guess Standard Format didn't exist until MagicalTux created it... maybe I'm adding to the problem. I don't want to cause confusion.
Mtgox still doesn't work with WIF. I added the base64 only because it was available in the .toString() method for the ECKey and I assumed Stephan had a reason for that. I'm going to double check Mtgox works with hex. Hopefully they fix the WIF bug soon. Did MtGox stop accepting in the "standard format"? Because I tried it a few days ago and it worked.
I have verified that Mt. Gox works with and automatically detects both the mini private key format and the hex format.  The last time I checked it still did not work with the "standard" WIF but I will check it again in a few days.  I filed a bug report with Mt. Gox but they have not even assigned it to anyone yet, let alone gotten back to me.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 11, 2011, 11:33:59 AM
 #126

Is there any known reason why this does not work in mobile safari? The gen key function seems to be called and the CPU seems to be chugging along for 4-5s but nothing is displayed past "move your mouse". I tried to step through the js execution and think the script halted at one one of underlying crypto functions.   


Try Opera Mini. It works on my iPod 2G.

I recommend that you DO NOT do use "Opera Mini". It is a different type of browser that uses a proxy and renders the information server side (including JavaScript execution results) then sends the results to the client. So theoretically Opera knows about any private keys generated using "Opera Mini".

Opera has another mobile browser called "Opera Mobile" which is safe to use but may not solve the slow JavaScript issue on some iDevices.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 11, 2011, 11:41:50 AM
 #127

MtGox only accepted that format because MagicalTux was confused as to how the format worked.  Nothing generates keys in that format, and quite frankly there is no advantage to doing it because it takes away the error checking for no good reason.  It would be best not to propagate new formats for keys that don't serve any particular purpose, otherwise everybody will have to support them for everything.

I'm going to remove the "standard format" from the next release. I just checked and MtGox no longer accepts it. I agree the sipa format is better due to the error checking and the usability feature of always starting with a 5.

I can also confirm that the hexadecimal format works at MtGox. Thanks bwagner for checking as well.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
October 11, 2011, 01:16:26 PM
 #128

MagicalTux reports having fixed this.  It now accepts Base58 private keys, and I was able to import one as a test.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 12, 2011, 03:38:09 AM
 #129

MagicalTux reports having fixed this.  It now accepts Base58 private keys, and I was able to import one as a test.

Cool. I also tested a private key in sipa wallet import format and it worked.

v1.1
https://www.bitaddress.org/bitaddress.org-v1.1-SHA1-969273be66ecf93d8bb3525edc1fa0cf3de228d2.html
- Removed 'Standard Format' from Wallet Details tab.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 13, 2011, 12:19:04 AM
 #130

I also wouldn't offer it in base64 unless something else uses it prominently (e.g. OpenSSL, but OpenSSL uses hex).

Code:
# write 32 random bytes of base64-encoded data to stdout
$ openssl rand -base64 32
0kMS0ngFjbWFnDAQzH+OvJTlO2b6O71Kcv9aKpWVh2k=
Looks like you can generate random numbers in base64 with OpenSSL:
http://www.madboa.com/geek/openssl/#random-generate

I'm not sure who, if anyone, is using base64 but it's such a wide spread encoding I figured it would be useful to include in the tool.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 13, 2011, 01:36:53 AM
 #131

A deterministic generation function does one more very valuable thing from an auditability perspective that has nothing to do with recreating wallets.  Supporting deterministic generation from a passphrase allows the average user to control for the possibility that the RNG in your generator isn't rigged or flawed in a non-obvious manner.  If your RNG turns out to be flawed at any time down the road, it would turn into a huge liability for anyone who has ever used your generator.  (Google "Debian OpenSSL key flaw" for an example of a past occurrence of this mess). On the other hand, if it produces the same deterministic wallet as any other program made for the same purpose, it can be conclusively deemed to operate as advertised.

The Wallet Details tab can now be used for the purpose of creating a deterministic wallet. You can use the tab to determine if you have a valid private key in one of various formats and what the bitcoin address is for that key.

It's also useful if you're in a highly adversarial environment and you believe a weakness in the PRNG could expose your private key. To protect against that you could copy the key you generate on the single wallet tab and paste it on the wallet details tab and adjust a few characters then view the details to confirm it's a valid private key and see it's bitcoin address.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
October 13, 2011, 01:38:50 AM
 #132

v1.2
https://www.bitaddress.org/bitaddress.org-v1.2-SHA1-1770e5e8993cca823a2ad956e2aab5c291151692.html
-Wallet Details Tab: Added extra check on validity of Wallet Import Format and Base64 Private Keys.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
amencon
Sr. Member
****
Offline Offline

Activity: 410
Merit: 250


View Profile
October 15, 2011, 09:54:43 AM
 #133

Great job!  Thanks very much for this.  Using it to secure some coins now and it was MUCH simpler than other alternatives I was looking at.
mwally
Newbie
*
Offline Offline

Activity: 21
Merit: 0



View Profile WWW
October 20, 2011, 01:52:01 AM
 #134

Thank you for this excellent tool.
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
November 07, 2011, 02:40:33 AM
 #135

I decided to open source the project, it's now available under an MIT License.

https://github.com/pointbiz/bitaddress.org

I've uploaded the version history from v0.5 to the current v1.2 so it's easier to review the changes.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
November 07, 2011, 03:12:44 AM
 #136

That is exciting news, and an enormous contribution to the community!  Thanks much!

In my opinion, this should be available directly at places like bitcoin.org, weusecoins.com, mtgox.com, etc...

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
mila
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
November 08, 2011, 08:48:11 PM
Last edit: November 08, 2011, 09:01:12 PM by mila
 #137

that's amazing Smiley

Q: do you plan to add testnet switch for addresses/keys valid for testnet blockchain?

p.s. pls send me a unique address for a bitcoin donation

That is exciting news, and an enormous contribution to the community!  Thanks much!

In my opinion, this should be available directly at places like bitcoin.org, weusecoins.com, mtgox.com, etc...

+1

your ad here:
pointbiz (OP)
Sr. Member
****
Offline Offline

Activity: 437
Merit: 415

1ninja


View Profile
November 29, 2011, 12:33:12 AM
 #138

v1.3
https://www.bitaddress.org/bitaddress.org-v1.3-SHA1-88d9a17e6d6286d7840043b6df9980e85f44b8c0.html
- Testnet Edition added. Now if you add ?testnet=true to the end of the URL you can generate testnet bitcoin addresses.
https://www.bitaddress.org/bitaddress.org-v1.3-SHA1-88d9a17e6d6286d7840043b6df9980e85f44b8c0.html?testnet=true
- Update to isMiniFormat to check for 22, 26 or 30 character mini private key formats.

Coder of: https://www.bitaddress.org      Thread
Open Source JavaScript Client-Side Bitcoin Wallet Generator
Donations: 1NiNja1bUmhSoTXozBRBEtR8LeF9TGbZBN   PGP
osmosis
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250



View Profile
December 04, 2011, 01:21:21 AM
 #139


I would like a bitaddress option to generate a PDF of dollar bill sized print outs. What printcoins.com is doing works great because they fit in a wallet.
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006

Let's talk governance, lipstick, and pigs.


View Profile
December 04, 2011, 02:08:47 AM
 #140


I would like a bitaddress option to generate a PDF of dollar bill sized print outs. What printcoins.com is doing works great because they fit in a wallet.


I'm having to pshop them manually. I'm not printing bill exactly, but a similar format. A DTP program would prolly do a better job.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
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 »
  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!