Skip to content

Commit fed1c36

Browse files
Update license public key documentation and source URL
1 parent 3e01f71 commit fed1c36

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

react_on_rails_pro/lib/react_on_rails_pro/license_public_key.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# frozen_string_literal: true
22

33
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.
416
module LicensePublicKey
517
# ShakaCode's public key for React on Rails Pro license verification
618
# The private key corresponding to this public key is held by ShakaCode

react_on_rails_pro/packages/node-renderer/src/shared/licensePublicKey.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
// The private key corresponding to this public key is held by ShakaCode
33
// and is never committed to the repository
44
// Last updated: 2025-10-09 15:57:09 UTC
5-
// Source: http://localhost:8788/api/public-key
5+
// Source: http://shakacode.com/api/public-key
6+
// You can update this public key by running the rake task:
7+
// react_on_rails_pro:update_public_key
8+
// This task fetches the latest key from the API endpoint:
9+
// http://shakacode.com/api/public-key
610
export const PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
711
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlJFK3aWuycVp9X05qhGo
812
FLztH8yjpuAKUoC4DKHX0fYjNIzwG3xwhLWKKDCmnNfuzW5R09/albl59/ZCHFyS

0 commit comments

Comments
 (0)