Open songhan89 opened 6 months ago
+1
facing the same issue too
I did some testing and found that the format in your env variables should be declared in the format below in order for the SGID client to be initialized, hope this helps
SGID_PUBLIC_KEY="-----BEGIN PUBLIC KEY----- your public key -----END PUBLIC KEY-----" SGID_PRIVATE_KEY="-----BEGIN PRIVATE KEY----- your private key -----END PRIVATE KEY-----"
Describe the bug
convert_to_pkcs8
in sgid python library returns error.The same private key is working in TypeScript sgid library.
To Reproduce Steps to reproduce the behavior:
.env
file with your sgid project credentials.python -m flask run
Expected behavior The same credentials are used in the Typescript sgid library and it worked there for ts.
Desktop (please complete the following information):
Additional context Using python 3.11