Endless Dev ð’€­ (@EndlessDevTeam) header
Endless Dev ð’€­ (@EndlessDevTeam) profile picture

Everything about Endless Development Community

Joined February 2023
The interface and docs are already done. So, what's Next?
15
6
38
15,900
📌Signature (B) Verification Process: 1. Verify that authkey=H(iss_val,addr_idc). 2. Verify that exp_horizon∈(0,max_exp_horizon). 3. Verify the EPK validity period: current_block_time()<exp_date. 4. Verify the signature σeph​. 5. Obtain the JWT public key jwk. 6. Generate the public input hash: 7. If the training round public key is configured, verify σtw​. 8. Verify the ZKPoK π, which proves the existence of a secret input w that satisfies the relationship:
1
2
113
📌Signature (A) The signature of a Keyless account is based on "zero-knowledge proof." The transaction signature is defined as: where: 1. header is the JWT Header, which includes the OIDC provider's signature scheme and the key ID of the JWK. 2. epk is the ephemeral public key generated by the application (DApp or wallet), corresponding to the ephemeral private key esk. They are usually an ED25519 key pair. 3. σeph is the signature of the ephemeral private key esk on the transaction tnx. 4. exp_date is the expiration time of the ephemeral key pair esk and epk. 5. exp_horizon is a public parameter that limits the maximum validity period of the ephemeral key pair, preventing DApps from setting an excessively long validity period. 6. extra_field is optional and used to publicly disclose specific fields in the JWT. For example, if the user wants to share their email, extra_field can be set to email:[email protected]. 7. override_aud_val is an optional parameter for "account recovery." If set, it will override the aud in the JWT and use override_aud_val to generate the IDC. 8. σtw is the signature of the zero-knowledge proof service on Ï€, which is optional and determined by on-chain configuration. 9. Ï€ is the zero-knowledge proof of knowledge (ZKPoK).
1
3
119
📌Authentication Key Definition: where H is a cryptographic hash function.
1
3
113
📌Public Key The public key of a Keyless account includes: ✅iss_val: The OIDC provider identifier (obtained from the `iss` field in the JWT, such as accounts.google.com ) ✅addr_idc: Identity Commitment (IDC), which includes: The IDC is computed using a SNARK-friendly hash function H :
1
4
164
You may know the concept of Endless Keyless. But if you want to develop and apply it, you need to understand more about its structure. Let's dive in it.🧵
23
15
4
77
6,591