Jason Swails

Results 74 comments of Jason Swails

I've used `jwt.decode()` to do this: ```python def validate(public_key: jwk.RSAKey, token: str) -> bool: try: jwt.decode(token, public_key) except BadSignatureError: return False except JoseError: raise # This will hit if, for...

The title of this issue is sufficient for me to share some of my migration experience from python-jose, so I'll just drop them here. ### `jose.jwt.get_unverified_header` The unverified header gives...

We also use OpenMM for QM/MM stuff and have actually created a CPU-only conda package for internal use. That said, in an ideal world the GPU platforms would "just work"...

> If the code allows for it, dynamically loading CUDA if available would solve the problem too. This already happens. All plugins, platforms, etc. are dynamically loaded and made available...