Pages:
Author

Topic: Publicly released some of the magic potion that goes into physical bitcoins! (Read 9224 times)

legendary
Activity: 1708
Merit: 1019
Is it generally possible to generate the corresponding namecoin public key from a bitcoin public key?

I assume you mean namecoin address vs Bitcoin address (public keys are the same for both)

Use my Utility, the Address Utility screen

Put the Bitcoin address in the bottom box and hit the up arrow to get the Hash160

Then switch the selection dropdown from Bitcoin to Namecoin. Then hit the opposite arrow to go from hash160 to address and you will get the namecoin address.

sweet! works like a charm. Had played with your tool just today but did not realize it was so easy.

The reason why I am asking is a sendbtctoname function for namecoin using a shared key. Should be easy to implement.
Found an alternative in the meantime, through sendbtctoalias: https://bitcointalksearch.org/topic/m.1500895
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
Is it generally possible to generate the corresponding namecoin public key from a bitcoin public key?

I assume you mean namecoin address vs Bitcoin address (public keys are the same for both)

Use my Utility, the Address Utility screen

Put the Bitcoin address in the bottom box and hit the up arrow to get the Hash160

Then switch the selection dropdown from Bitcoin to Namecoin. Then hit the opposite arrow to go from hash160 to address and you will get the namecoin address.
legendary
Activity: 1708
Merit: 1019
Is it generally possible to generate the corresponding namecoin public key from a bitcoin public key?
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
A version for Mac would be awesome

It will run with Mono or Parallels
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
This is very generous, Casascius.  Thanks!

I'm not seeing a license file anywhere. What license is the source code released under?


GPLv3
member
Activity: 65
Merit: 10
This is very generous, Casascius.  Thanks!

I'm not seeing a license file anywhere. What license is the source code released under?
legendary
Activity: 1014
Merit: 1001
The print utility does not know the address of an encrypted private key unless you actually generated it within the program.  I would either have to add a prompt to collect that from you, or refuse to print at least the address.
    I'd like to import my (encrypted) keys and print them with the utility. Will you add this option to the next release?

(Thanks a lot for that useful utility. Donation is coming)
hero member
Activity: 784
Merit: 1000
Bitcoin Mayor of Las Vegas
This is ridiculously cool crypto! Some requests:

* help | about, version

* a viewable dir index showing all previous versions and a symlink from btcaddress.zip to the latest version.

* some way to automate notifications of all future updates: rss blog feed, official forum thread, etc.

* a bitcoin donation address 8D

Will there ever be support for these functions in linux, either gui or text?
legendary
Activity: 1014
Merit: 1001
Despite you decrypting it in the address utility, the program doesn't hold on to the password for the benefit of the printing part.  The print utility does not know the address of an encrypted private key unless you actually generated it within the program.  I would either have to add a prompt to collect that from you, or refuse to print at least the address.
I'd like to import my (encrypted) keys and print them with the utility. Will you add this option to the next release?
hero member
Activity: 793
Merit: 1016
Yeah, that's exactly what I did, PDF then just text copy.  Worked just fine, just a minor pain.  Still, friggin awesome!!!!!
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
Is there an easy way to get the confirmation code or do I just have to print the insert?

I will have to add one, now that I'm aware of this as a suitable application.  There isn't any way currently exposed other than that.

As a stop gap, if you're able to print to PDF, do that.  But I'm sure it'll get added soon enough.
hero member
Activity: 793
Merit: 1016
Is there an easy way to get the confirmation code or do I just have to print the insert?
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
I don't know what the word "encumbered" means in this sense.

By this, I just mean that the funds themselves are unmovable until the restriction is satisfied.  I might have been more clear had I just said "restricted".

I suppose it's confidence building for the sending side to be able to have something tell him, in green bold print, "yes this address is safe and is half yours".  The "intermediate" and "confirmation" are little more than the same operations of the multiplying key combiner itself, wrapped in a pretty container with salt, some encryption, and some self-defense against typos. 
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
There seems to be a bug, but im not sure:

I start the program, enter an (encrypted) key: 6PfRj9PLSPfGW9z5iKKyaVyKFvWScDhxvYjhtghhi9dVk8vAUngZD9RL6V
I click for details: the address utility opens.

This is a bug in the sense that I'm mishandling what to do when this happens, but there's a fundamental problem: the key is encrypted and the program doesn't know the address.

Despite you decrypting it in the address utility, the program doesn't hold on to the password for the benefit of the printing part.  The print utility does not know the address of an encrypted private key unless you actually generated it within the program.  I would either have to add a prompt to collect that from you, or refuse to print at least the address.
hero member
Activity: 793
Merit: 1016
Mike, you're awesome.  I've already used the two factor in your newest utility to do an escrow transaction with somebody.  This is awesome.

How did that work?  I am guessing you sent funds to an address neither of you had access to, until one of you ceded your key material to the other?

Just curious, did your deal involve checking the confirmation code to verify the address was indeed encumbered?

I don't know what the word "encumbered" means in this sense.  We both just verified that we did indeed got the same public address, then I sent funds to that address.  He performed agreed upon service.  Then I sent him the private key for my address (a throwaway created just for that transaction).

I still don't know the private key for the "escrow" address, but the money was moved out of it, so I know he got it.

Edit:  Oh, we used the Key Combiner, not the confirmation thingy.

Edit 2: oohhh I was using an old version.  this confirmation code thing is super awesome.

Edit 3:  Is there a way to get the confirmation code without printing the physical coin insert?  I can't find any other way.
legendary
Activity: 1014
Merit: 1001
There seems to be a bug, but im not sure:

I start the program, enter an (encrypted) key: 6PfRj9PLSPfGW9z5iKKyaVyKFvWScDhxvYjhtghhi9dVk8vAUngZD9RL6V
I click for details: the address utility opens.
I enter the passphrase "topsecret", and it calculates the hex/hash
Everything ok so far.
Now i click "Print Banknote" an i get an error message    
Code:
System.InvalidOperationException: Address is not available
    BtcAddress.EncryptedKeyPair.GetAddress()
    BtcAddress.KeyCollectionItem.GetAddressBase58()
    BtcAddress.QRPrint.OnPrintPage(PrintPageEventArgs e)
    System.Drawing.Printing.PrintDocument._OnPrintPage(PrintPageEventArgs e)
    System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
    System.Drawing.Printing.PrintController.Print(PrintDocument document)
    System.Drawing.Printing.PrintDocument.Print()
    BtcAddress.Forms.PrintVouchers.button1_Click(Object sender, EventArgs e)
    System.Windows.Forms.Control.OnClick(EventArgs e)
    System.Windows.Forms.Button.OnClick(EventArgs e)
    System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    System.Windows.Forms.Control.WndProc(Message& m)
    System.Windows.Forms.ButtonBase.WndProc(Message& m)
    System.Windows.Forms.Button.WndProc(Message& m)
    System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The same when i try to safe the "Address List" i get the message: Address not available
hero member
Activity: 756
Merit: 522
hero member
Activity: 742
Merit: 500
I have been doing a mix of the following (working on making it more consistent)

1 - Using SecureRandom from the BouncyCastle dependency
2 - Using SecureRandom from .NET's System.Security.Cryptography
3 - Doing both of the above while XORing the bytes with "extra entropy", formed mainly from hashing a buffer that grows when the app receives events (mouse moves, timer ticks, etc. cause the system tick count to be appended to the buffer) and gets chopped down when it gets too big, by being replaced with a hash of itself.


Started to post exactly this myself. You're too fast for me mike!

Code:
        private void Walletgen_Shown(object sender, EventArgs e) {
            const int phraselength = 80;

            RandomNumberGenerator rng = RandomNumberGenerator.Create();
            Byte[] byte8 = new byte[phraselength];
            rng.GetBytes(byte8);
            string randomphrase = "";
            string junk64 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz*#_%+!";
            for (int i = 0; i < phraselength; i++) {
                randomphrase += junk64.Substring(byte8[i] & 63, 1);
            }
            txtPassphrase.Text = randomphrase;
        }
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
Mike, you're awesome.  I've already used the two factor in your newest utility to do an escrow transaction with somebody.  This is awesome.

How did that work?  I am guessing you sent funds to an address neither of you had access to, until one of you ceded your key material to the other?

Just curious, did your deal involve checking the confirmation code to verify the address was indeed encumbered?
vip
Activity: 1386
Merit: 1136
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
I have been doing a mix of the following (working on making it more consistent)

1 - Using SecureRandom from the BouncyCastle dependency
2 - Using SecureRandom from .NET's System.Security.Cryptography
3 - Doing both of the above while XORing the bytes with "extra entropy", formed mainly from hashing a buffer that grows when the app receives events (mouse moves, timer ticks, etc. cause the system tick count to be appended to the buffer) and gets chopped down when it gets too big, by being replaced with a hash of itself.
Pages:
Jump to: