Is it technically possible to create and use dynamic private key - public key pair and use it with bitcoin?

2

1

Is it technically possible to create and use dynamic private key - public key pair and use it with bitcoin?

I am not sure anything conceptually similar to this already exists. Yet, "dynamic" private - public key pair can be defined as ordinary key pair with 2FA capabilities. Both the keys regularly change per generated 2FA token.

Basically I hope the following,

  1. create dynamic private - public key pair, combining 2FA (like, google authenticator) and a passphrase
  2. this key pair can only be used for a short defined duration, or as long as 2FA token is valid
  3. receive funds
  4. chronologically old key pairs can be used to check / receive funds (or, not)
  5. In future, private key generated from passphrase and 2FA token can be used to spend the coins

BIP 38 is not anyway related to this.

vi.su.

Posted 2013-01-31T11:21:13.880

Reputation: 1 714

1I don't understand the question. In step 2, you say "this key pair can only be used for a short defined duration". Used to do what?David Schwartz 2013-05-02T06:48:55.970

Can you explain the purpose of "dynamic keys"?Eyal 2013-05-02T07:11:10.280

@Eyal, I was looking for a way to make spending possible by some combination of private key + two factor authentication (like, google authenticator). I thought, it is possible through script, but I was never able to solve this.vi.su. 2013-05-03T09:54:05.483

The idea behnd second-factor is that it changes. There are three factors in auth: who you are, what you know, and what you have. "what you know" is password. "who you are" is a fingerprint. "what you have" is maybe a smartphone. But since the password is only ever useful once, because you can only spend once, there's no need for a changing key.Eyal 2013-05-03T15:22:30.573

please feel free to edit / comment, if anything is not clear.vi.su. 2013-01-31T11:22:18.930

Answers

1

No, it is not possible to do what you are suggesting. Here's more info about cryptography.


You can create create an ECDSA keypair with almost any random data (it must a lower than a certain value, but go check ECDSA specs) and then generate an address... But a keypair will always be valid to receive bitcoins or send them (if you still have the private key).

The thing is that a other party will not be able to know what is your next address since you need the private key to do that.

So yeah you can create keypairs with almost any data, but I don't think it'll be dynamic in the way you think.

Gopoi

Posted 2013-01-31T11:21:13.880

Reputation: 889

"The thing is that a other party will not be able to know what is your next address since you need the private key to do that." - this is expected, and this also prevents others from checking my balance.vi.su. 2013-02-01T01:22:46.997