<div dir="ltr"><div class="gmail_default" style="font-size:small">Amazing, thanks</div><div class="gmail_default" style="font-size:small">What I need urgently and cannot figure out, is how to verify a Stir Shaken token using Bas and openssl</div><div class="gmail_default" style="font-size:small">This is a real example:</div><div class="gmail_default" style="font-size:small"><font face="monospace">token="eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9hei50YXgvMSJ9.eyJhdHRlc3QiOiJBIiwiZGVzdCI6eyJ0biI6WyIxOTU0NDQ0NzQwOCJdfSwiaWF0IjoxNjc2MjY1NTE0LCJvcmlnIjp7InRuIjoiMTcyNzQ0MzMwMTkifSwib3Jp<br>Z2lkIjoiMzU4ZDA0OGItZTAwNy0xMWVhLWFjMzctNDctMjA1LTE3Mi04OSJ9.YD9kpeGaKFa6Gh-TIX7mAJWl9W3EpitTCpHxS7UEmddfT0E3DfRvpwEIsGqC8ouKxwmuYGKq1hvgucKqLLYFhA" <br>echo "${token}" > token.txt<br>echo "-----BEGIN PUBLIC KEY-----<br>MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkCmapE3ygZFy5ZDAjFSGh5rp766W<br>EZ2+adZvlPeVk5kJzenhDJROfhh7aIKiG/npK8VnYE0WOf2OjyJU6LE9OQ==<br>-----END PUBLIC KEY-----" > pk.pem<br>IFS='.' read -r header payload signature <<< "$token"<br>echo "${signature}" > signature.bin<br><br>#echo -n "$signature"|basenc -d --base64url > signature.bin #ERROR<br>echo "${header}.${payload}"|openssl dgst -sha256 -binary > payload_hash.bin<br>openssl pkeyutl -verify -inkey pk.pem -pubin -sigfile signature.bin -in payload_hash.bin</font><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 15, 2023 at 2:14 PM Daniel Zanutti <<a href="mailto:daniel.zanutti@gmail.com">daniel.zanutti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Virtual Router Redundancy Protocol (VRRP)<div><br></div><div><a href="https://www.techopedia.com/definition/13483/virtual-router-redundancy-protocol-vrrp" target="_blank">https://www.techopedia.com/definition/13483/virtual-router-redundancy-protocol-vrrp</a><br></div><div><br></div><div><div><br>On Wed, Feb 15, 2023 at 3:21 PM Saint Michael <<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>> wrote:<br>><br>> what is VRRP ?<br>><br>> On Wed, Feb 15, 2023 at 1:16 PM Kingsley Tart <<a href="mailto:kingsley@dns99.co.uk" target="_blank">kingsley@dns99.co.uk</a>> wrote:<br>>><br>>> FWIW, I set up OpenSIPS here in a couple of clusters with VRRP managing<br>>> the service "floating" IP addresses. If I want to restart a node, I<br>>> mark it as disabled, which then means that<br>>><br>>> * it stops replying to OPTIONS<br>>> * it responds 503 to INVITE if other nodes are still up<br>>> * when all early dialogs have ended, the IP moves to another node<br>>><br>>> I can then restart OpenSIPS on this node without losing anything.<br>>><br>>> Cheers,<br>>> Kingsley.<br>>><br>>> On Thu, 2023-01-12 at 23:29 -0500, Saint Michael wrote:<br>>> > Is there a command that I may run without restarting opensips that<br>>> > restarts the process, internally?<br>>> > if I restart opensips I lose all the records.<br>>><br>>><br>>> _______________________________________________<br>>> Users mailing list<br>>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>