If ECDSAP256SHA256_SUPPORTED or ECDSAP384SHA384_SUPPORTED variables were not present in the environment, os.environ would raise KeyError that is not being handled in the decorator. Use os.getenv() instead. (cherry picked from commit 1a5683b638)
1a5683b638