Skip to content

Make google-cloud-auth safer by removing dependencies flagged as vulnerable by rustsec #3947

@alvarowolfx

Description

@alvarowolfx

Based on #3934, we need to make the auth library clean of security warnings. This is currently being caused mainly by the id token feature (more specifically the id token verification feature), which pull the jsonwebtoken crate, which has rsa in it's dependency chain. Vulnerability report: https://rustsec.org/advisories/RUSTSEC-2023-0071

We also include rsa as dev-dependency for tests, to generate a real certificate based on some test prime numbers. I think we can replace this with ring https://docs.rs/ring/latest/ring/rsa/struct.KeyPair.html#method.from_components. We already use ring as a crypto provider in the rustls crate.

Current plan:

Metadata

Metadata

Assignees

Labels

authIssues related to the auth librarypriority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions