I am trying to do multisignature addresses and when it comes time to spend the funds, I am getting stuck.
If I create a 2 of 3 multisignature address using 3 public keys that I generate locally, then dump their private keys and use those to sign and spend the funds, it works without issue.
But, when I generate public/private key pairs from BitAddress.org (Wallet Details) there are multiple types of private keys with different lengths.
Private Key WIF 51 characters base58, starts with a '5'
Private Key Hexadecimal Format (64 characters [0-9A-F])
Private Key Base64 (44 characters)
Private Key 52 characters base58, starts with a 'K' or 'L'
When I do dumpprivkey for one of the keypairs generated locally, it spits out a 52 character key. So I thought maybe the 52 character base58 private key was the one I should enter, but it returns "Invalid Private Key".
The key that dumpprivkey spits out does not follow any of the rules of any of the above private keys provided by BitAddress.org generation. So how do I generate this private key that I can use in signrawtransaction ?
I want users to be able to generate and supply their own private keys for a multisignature escrow, so generating the addresses locally is not an option.