Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIP-49][Secp256k1 Ecdsa for Transaction Authentication] #247

Closed
davidiw opened this issue Sep 28, 2023 · 1 comment
Closed

[AIP-49][Secp256k1 Ecdsa for Transaction Authentication] #247

davidiw opened this issue Sep 28, 2023 · 1 comment

Comments

@davidiw
Copy link
Contributor

davidiw commented Sep 28, 2023

AIP Discussion

Despite our desire to see more diverse key algorithms supported in hardware cryptographic platforms, the primary Aptos key algorithm, Ed25519, has yet to be adopted broadly across the ecosystem. secp256k1 ECDSA remains the incumbent and is broadly supported. This AIP introduces support secp256k1 ECDSA as a transaction authenticator for Aptos.

Summary

In Aptos, each transaction contains a transaction authenticator that includes a signature and a public key, while the transaction itself contains the sender of the transaction. To verify that a transaction is properly signed, the verifier validates that the public key verifies the signature across the transaction and that the hash of the public key is stored on-chain in a hashed form under the account. By completing this verification, the verifier can be certain that the owner of the account indeed authorizes this transaction. This AIP adds support for secp256k1 ECDSA for transaction authentication.

Motivation

Many organizations already have support for secp256k1 Ecdsa but not Ed25519
Hardware crypto has not broadly adopted Ed25519 yet rmain compatible with secp256k1 ECDSA

Read more about it here: #248

This AIP is related to AIP-55 Generalize Transaction Authentication and Support Arbitrary K-of-N MultiKey Accounts

@mtrackeros
Copy link

AIP Discussion

Despite our desire to see more diverse key algorithms supported in hardware cryptographic platforms, the primary Aptos key algorithm, Ed25519, has yet to be adopted broadly across the ecosystem. secp256k1 ECDSA remains the incumbent and is broadly supported. This AIP introduces support secp256k1 ECDSA as a transaction authenticator for Aptos.

Summary

In Aptos, each transaction contains a transaction authenticator that includes a signature and a public key, while the transaction itself contains the sender of the transaction. To verify that a transaction is properly signed, the verifier validates that the public key verifies the signature across the transaction and that the hash of the public key is stored on-chain in a hashed form under the account. By completing this verification, the verifier can be certain that the owner of the account indeed authorizes this transaction. This AIP adds support for secp256k1 ECDSA for transaction authentication.

Motivation

Many organizations already have support for secp256k1 Ecdsa but not Ed25519 Hardware crypto has not broadly adopted Ed25519 yet rmain compatible with secp256k1 ECDSA

Read more about it here: #248

This AIP is related to AIP-55 Generalize Transaction Authentication and Support Arbitrary K-of-N MultiKey Accounts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants