Skip to content

Instantly share code, notes, and snippets.

@jag3773
Created February 16, 2015 17:00
Show Gist options
  • Save jag3773/1cec6c048edf17726226 to your computer and use it in GitHub Desktop.
Save jag3773/1cec6c048edf17726226 to your computer and use it in GitHub Desktop.
OpenSSL DER Verify
[jesse@jesse crypt]$ wget https://api.unfoldingword.org/obs/txt/1/en/obs-en.json
[jesse@jesse crypt]$ wget https://api.unfoldingword.org/obs/txt/1/uW-test-vk.der
[jesse@jesse crypt]$ wget https://api.unfoldingword.org/obs/txt/1/en/obs-en.der.sig
[jesse@jesse crypt]$ ls
obs-en.der.sig obs-en.json uW-test-vk.der
[jesse@jesse crypt]$ openssl dgst -keyform DER -verify uW-test-vk.der -signature obs-en.der.sig obs-en.json
Verified OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment