Skip to content

idtoken: allow configuring crypto backend #4207

@howardjohn

Description

@howardjohn

Is your feature request related to a problem? Please describe.
Enabling the idtoken feature of google_cloud_auth unconditionally pulls in jsonwebtoken with the rust_crypto feature. jsonwebtoken has two features, rust_crypto and aws_lc_rust; they MUST have only one set otherwise compilation fails.

For various reasons, I am already using jsonwebtoken with aws_lc_rust. As such, I would like to configure google_cloud_auth to also use the aws_lc_rust feature so that it can compile.

Describe the solution you'd like
I would like to configure google_cloud_auth to also use the aws_lc_rust feature so that it can compile.

Describe alternatives you've considered
use rust_crypto which is not compliant with my security requirements.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions