Skip to content

Setting apv header ECDH-ES Key Agreement  #94

Description

@rnapier

Following up on #60, I'm trying to understand how to derive an ECDH-ES key. I had thought that it was with cjose_jwk_derive_ecdh_ephemeral_key, but that seems to be a different HKDF algorithm. If I have a jwe, an apv, a private key and a public key, what can I call to fetch the derived shared secret?

I believe the thing I'm looking for is derived that's computed by _cjose_jwe_decrypt_ek_ecdh_es.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions