Created
January 18, 2024 10:36
-
-
Save ohac/2cf8e312ac90e83c4e5c9128c0372dab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PW=$(jq -r .privatekey < ~/.config/algia/config.json | sha256sum | cut -d' ' -f1) | |
openssl aes256 -K $PW -iv 00000000000000000000000000000000 | base64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment