InjectiveLabs/sdk-python

Add secure private key management with keyring

achilleas-kal opened this issue · 2 comments

Hey @xlab, creating this issue so we can look into adding this feature in sdk-python as it's only compatible for Golang-based bots now.

xlab commented

Kinda the standard way to manage encrypted secrets in Python https://pypi.org/project/keyring/
(with https://pypi.org/project/keyrings.cryptfile/ plugin to support plain files)

aarmoa commented

Closing this Issue because keyrings.cryptfile does not work. It is not compatible with the encryption method the cosmos Keyring uses. Decrypting the values would require the use of JOSE (JSON Object Siigning and Encryption)