Skip to content

Instantly share code, notes, and snippets.

@rectalogic
Created April 10, 2025 22:32
Show Gist options
  • Save rectalogic/d763846a4a5a49c3a0962eda896bb057 to your computer and use it in GitHub Desktop.
Save rectalogic/d763846a4a5a49c3a0962eda896bb057 to your computer and use it in GitHub Desktop.
require 'openssl'
require 'base64'
key = OpenSSL::PKey.read File.read 'dev.key'
puts key.verify nil, Base64.urlsafe_decode64("MCHUTLtnvaAJSv6wwZgvfLIXQYWXH-KH8hygHX1xQ18E5H9GNAWoGqNwyeNSkEsMCLldG0LfL7OZwY3tvTd5CQ=="), "rez:1744330731"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment