-
Notifications
You must be signed in to change notification settings - Fork 2
/
secretstore_query_shadow.sh
executable file
·4 lines (4 loc) · 1.37 KB
/
secretstore_query_shadow.sh
1
2
3
4
#!/bin/bash
# returns {"decrypted_secret":"0x88adde1841690af21700e6ff37b8786733cede2ed2faf703f9d5d1a625fd45eb7e5e6efc3800d23482cbf8f1eead192b3123326aa5434c56bae2f99f3f7ca5bf","common_point":"0x2e350d872aef36f0baaf53c0b8b227240814e200e649493948e715487e09ac25957d269f97cd110e836ac48443f217c6a1ce443eecb51df8b1218c0558bd65a2","decrypt_shadows":["0x045f2f68a55d9823c5d618eda6e6687e1d16cb255ec9b4e8e91cee7910e0662e7fb696aa58cf141c44e1d26f7888cd2f3cdc817aa42ce719c2fae6ca5ae58655d161d97b791dd4734ffdd83920980107bf9f07cf49e69680068f490084e11ecd6f344d12bdfe1620ce2e36e5a77086970c9a20192e29fe8b64024ee2cd8eb48bd78595e5da81096f7f2e4165f85719b97e","0x04df05a7ae021b111777318f94ba677ed1e2b4857a3209acae25ca6a628dfe9f5f28aec46e528fd9ac8d35eb1e506851f699cb3715738106e226a4a4ab820af9310e059904a24e5851f7e28e163c35a0803ba13e4d3de9f7bea3aef94c63540193c89402080cde36aab7117b7918a11cb184bf40a08ab59a12d25a15ae581731fff1dba5889ab3b7f24e7b54d74538e342"]}
#curl -v http://localhost:8082/shadow/0000000000000000000000000000000000000000000000000000000000000009/ae42e6f9efdba7e3e33b8aa7edf46da4a36094725d6d86e8905515d5b713b81b6958e09ba5c8dfe5fe4f6d705d8968bed73f27a638edfff75b6d76a48a98514901
curl http://localhost:8082/shadow/0000000000000000000000000000000000000000000000000000000000000003/19a11a28f73ee2d04ef3bb25dd47ab2e26d8ae4bb3744bebfd83c927963deb940c7f77f1a3a387da9fb9595484b75205dff72128af4d0684349608c80e0319f801