Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

JWE Support #100

Description

@ksivask

As part of envoyproxy / istio changes, I am adding JWE support to this library and would like to upstream the changes. I am volunteering to get this feature added. Please advise if this feature request is acceptable.

JWE Asymmetric Algorithms (alg)

  • RSA-OAEP-256
  • ECDH-ES:
    • Curves: P-256, P-384, P-521
  • Unsupported:
    • RSA-OAEP (Deprecated)
    • RSA1_5 (No plan)

JWE Symmetric Encryptions (enc)

  • A128GCM, A192GCM, A256GCM
  • A128CBC-HS256, A192CBC-HS384, A256CBC-HS512

References

BASE64URL(UTF8(JWE Protected Header)) + '.' +
BASE64URL(JWE Encrypted CEKey) + '.' +
BASE64URL(JWE Initialization Vector) + '.' +
BASE64URL(JWE Ciphertext) + '.' +
BASE64URL(JWE Authentication Tag)

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