Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Joe Blau 🎩
@joeblau
Just bought a YubiKey 5C. Going to see if I can natively sign an Ethereum transaction using a secp256k1 key from the new iPhone 15's USB-C port.
17 replies
8 recasts
75 reactions
EulerLagrangodamus
@eulerlagrange.eth
Does it actually support that curve? I can’t seem to find anything anywhere that says it does.
1 reply
0 recast
0 reaction
Joe Blau 🎩
@joeblau
Yes. https://support.yubico.com/hc/en-us/articles/360016649139-YubiKey-5-2-Enhancements-to-OpenPGP-3-4-Support
1 reply
0 recast
0 reaction
EulerLagrangodamus
@eulerlagrange.eth
Ah, can’t believe google didn’t find that. It should be straightforward to get it to generate a ECDSA signature, but you have to manipulate the signature to make sure it’s Ethereum compliant. https://github.com/ethereum/EIPs/blob/4708c612b4784ec1ed9f419aeb07454ccfa30b4e/EIPS/eip-2.md?plain=1#L28
1 reply
0 recast
0 reaction
Joe Blau 🎩
@joeblau
Yeah, that should be straight forward. For me, having the signer in an HSM that could connect to an iPhone was always what I wanted. Since Apple only supports secp256r1, you can’t use an iPhone’s Secure Enclave as a key generator/signer.
1 reply
0 recast
0 reaction
Dogan
@doganeth
You can, there are several solidity implementations and EIP7212 to solve this.
1 reply
0 recast
0 reaction
Joe Blau 🎩
@joeblau
Ah cool. I guess they got over the whole NSA back door issue in the RNG. This will be nice once it’s official. https://arstechnica.com/information-technology/2015/01/nsa-official-support-of-backdoored-dual_ec_drbg-was-regrettable/
0 reply
0 recast
0 reaction