$ pip instal pycrypto
$ pip install ecc
$ pip install pbkdf2
otherwise,
$ pip install -e git+https://github.com/dlitz/python-pbkdf2.git#egg=pbkdf2
For convenience, there is a setup.py in hdknr fork :
$ pip install -e git+https://github.com/hdknr/AES-GCM-Python#egg=aes_gcm
Also, make to work with GCM192, 256:
https://github.com/hdknr/AES-GCM-Python/commit/07d58bc0a81fbf9bdeea85b45bb42ca8cdd7c512
- Key finding parameters CAN NOT be used in OpenID Conncet ID Token. (Core Section.2) jws.Message and jwe.Message can be given a specific JwkSet to find proper key.