Skip to content

Instantly share code, notes, and snippets.

@ohac
Created January 18, 2024 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohac/2cf8e312ac90e83c4e5c9128c0372dab to your computer and use it in GitHub Desktop.
Save ohac/2cf8e312ac90e83c4e5c9128c0372dab to your computer and use it in GitHub Desktop.
#!/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