proofcarryingdata / zupass

Zuzalu Passport
https://zupass-zuauth.vercel.app
GNU General Public License v3.0
322 stars 76 forks source link

RSA PCD broken #779

Open ichub opened 1 year ago

cedoor commented 1 year ago

URL for testing:

https://zupass.org/#/add?request={"type":"ProveAndAdd","returnUrl":"http://localhost:3001/popup","pcdType":"rsa-pcd","args":{"id":{"argumentType":"String","value":"1"},"privateKey":{"argumentType":"String","value":"-----BEGIN RSA PRIVATE KEY-----\nMIIBOwIBAAJBAIZLtJ39LZByCV94+oNoAcSvJrhmOYnmQ5l/rs/12QeWtJ61d2nY\nb8teIgWKM+zklynLWmkjO/fZ3XQrvsn5cDkCAwEAAQJASMDaqHxwIsCks0Qm8ul1\ni8gXge5fXYWROaciXSci3CjIqre4FoLCYXppcRMd1akrZh1m1I9K8fWKti6JIZ5v\nwQIhAPJerqmX8D+c9nVl8ZheCrQVV+sYfN2TEO0Y7CMPAqk3AiEAjdkdvel6o/q+\nWg2Q4sqtHewf0MlHp9+lxp/TSIylqg8CIQDR6/YGCAZbYp0Iw7pESTemEFJs2nHU\nC/v+D7b/CpI4cwIgSAQYJog4XLJ8HApRKeOOeueby4u1VpSkfLA+O9I0dZ8CIQDf\nez8o4mpJ4x2mr5GQxiPnFKoCigZ62VBg7WUX/DQzvA==\n-----END RSA PRIVATE KEY-----"},"signedMessage":{"argumentType":"String","value":"white"}},"options":{"title":"RSA Signature"}}