GoogleCloudPlatform / GoogleCloudPlatform/getting-started-python

Replace python-jose dependency

Aperta
#565 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
priority: p1 type: cleanup
Lingua principale
Python
Stelle
819
Fork
571
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.