|
1 | 1 | # frozen_string_literal: true |
2 | 2 |
|
3 | 3 | module ReactOnRailsPro |
4 | | - # Module: LicensePublicKey |
5 | | - # |
6 | | - # Contains ShakaCode's public RSA key used for React on Rails Pro license verification. |
7 | | - # The corresponding private key is securely held by ShakaCode and is never committed to the repository. |
8 | | - # |
9 | | - # You can update this public key by running the rake task: |
10 | | - # react_on_rails_pro:update_public_key |
11 | | - # This task fetches the latest key from the API endpoint: |
12 | | - # http://shakacode.com/api/public-key |
13 | | - # |
14 | | - # TODO: Add a prepublish check to ensure this key matches the latest public key from the API. |
15 | | - # This should be implemented after publishing the API endpoint on the ShakaCode website. |
16 | 4 | module LicensePublicKey |
17 | 5 | # ShakaCode's public key for React on Rails Pro license verification |
18 | 6 | # The private key corresponding to this public key is held by ShakaCode |
19 | 7 | # and is never committed to the repository |
20 | 8 | # Last updated: 2025-10-09 15:57:09 UTC |
21 | 9 | # Source: http://shakacode.com/api/public-key |
| 10 | + # |
| 11 | + # You can update this public key by running the rake task: |
| 12 | + # react_on_rails_pro:update_public_key |
| 13 | + # This task fetches the latest key from the API endpoint: |
| 14 | + # http://shakacode.com/api/public-key |
| 15 | + # |
| 16 | + # TODO: Add a prepublish check to ensure this key matches the latest public key from the API. |
| 17 | + # This should be implemented after publishing the API endpoint on the ShakaCode website. |
22 | 18 | KEY = OpenSSL::PKey::RSA.new(<<~PEM.strip.strip_heredoc) |
23 | 19 | -----BEGIN PUBLIC KEY----- |
24 | 20 | MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJFK3aWuycVp9X05qhGo |
|
0 commit comments