GoogleCloudPlatform / GoogleCloudPlatform/getting-started-python

Replace python-jose dependency

Offen
#565 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
priority: p1 type: cleanup
Vorherrschende Sprache
Python
Sterne
819
Forks
571
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

A vulnerability has been found in the `ecdsa` dependency which will not be patched in the `python-jose` package. `python-jose` [seems to be abandoned](https://github.com/mpdavis/python-jose/issues/332). Other people are also encountering these [security issues](https://github.com/mpdavis/python-jose/issues/341).

I suggest to update [authenticating-users/main.py](https://github.com/GoogleCloudPlatform/getting-started-python/blob/main/authenticating-users/main.py) to not use this insecure package. A commonly used alternative is PyJWT.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.