Let resellers mint keys without handing them your signing key: delegation chains in Keyright
DEV Community
Let resellers mint keys without handing them your signing key: delegation chains in Keyright
You sign a distributor contract and the first integration question is "how do our resellers issue keys to end customers?" The two obvious answers are both wrong: hand each reseller your root signing key and one leaked laptop forges your entire catalogue, or route every reseller sale through a live call to your issuing service and your partners cannot sell when you are down. The design that holds is a delegation chain — give each reseller a signed certificate that carries their own public key and a scope they may never exceed, let them sign end-customer licenses with the private half, and have the client verify the whole chain offline against one pinned root key. This post builds that chain in Keyright: the delegate certificate and its scope, how a reseller issues within it, the SDK verification that walks license to delegate to root, the rule that scope can only ever narrow, and why revoking one certificate silently expires every key a compromised reseller ever issued.
0 comments
No comments yet.