fix: close marketplace client review findings
This commit is contained in:
@@ -13,6 +13,7 @@ export const PLUGIN_SIGNING_KEY_ACTIVATION_HOLD = true as const;
|
||||
|
||||
export interface PluginSigningKeyStore {
|
||||
get(keyId: string): Uint8Array | string | null;
|
||||
readonly sourceMarker?: string;
|
||||
}
|
||||
|
||||
function decodeKey(value: string): Uint8Array | null {
|
||||
@@ -36,6 +37,7 @@ export function loadCodeOwnedPluginSigningKey(keyId: string): Uint8Array | null
|
||||
export function createCodeOwnedPluginTrustStore(): PluginSigningKeyStore {
|
||||
return Object.freeze({
|
||||
get: loadCodeOwnedPluginSigningKey,
|
||||
sourceMarker: 'makelore.plugin-trust.code-owned.v1',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user