department-of-veterans-affairs / connect_vbms

VBMS SOAP API client
Other
17 stars 9 forks source link

Use SHA256 based on new env variable CONNECT_VBMS_SHA256 #178

Closed lisac-usds closed 6 years ago

lisac-usds commented 6 years ago

Introduces support for using SHA256 for the signature and digest algorithms.

Selects SHA256 if env variable CONNECT_VBMS_SHA256 == "True"; else uses SHA1 (previous behavior).

The env variable CONNECT_VBMS_SHA256 is introduced in the deployment scripts in appeals-deployment#1424.

This is a variation of #177.

lisac-usds commented 6 years ago

TODO:

(7 May update: simplified the equality check and added issue #182 for the unit test)