
Security News
Node.js Considers Public Workflow for Security Reports Amid AI-Driven Surge
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.
@sovrahq/kms-core
Advanced tools
This package exposes interfaces to be implemented by KMS concrete implementations like Extrimian KMS Client.
This package exposes interfaces to be implemented by KMS concrete implementations like Extrimian KMS Client.
export interface KMSStorage {
add(key: string, data: any): Promise<void>;
get(key: string): Promise<any>;
getAll(): Promise<Map<string, any>>;
update(key: string, data: any);
remove(key: string);
}
export interface IKeyPair {
readonly privateKey: string;
readonly publicKey: string;
}
export interface IKMS {
create(suite: Suite): Promise<{ publicKeyJWK: IJWK }>;
sign(suite: Suite, publicKeyJWK: IJWK, content: any): Promise<string>;
signVC(suite: Suite,
publicKeyJWK: IJWK,
vc: any,
did: string,
verificationMethodId: string,
purpose: Purpose): Promise<VerifiableCredential>;
pack(publicKeyJWK: IJWK, toHexPublicKeys: string[], contentToSign: string): Promise<string>;
unpack(publicKeyJWK: IJWK, packedContent: string): Promise<string>;
export(publicKeyJWK: IJWK): Promise<any>;
getPublicKeysBySuiteType(suite: Suite): Promise<IJWK[]>;
getAllPublicKeys(): Promise<IJWK[]>;
}
export enum LANG {
en = 'en',
es = 'es',
fr = 'fr',
it = 'it',
}
export enum Suite {
ES256k = "es256k",
DIDComm = "didcomm",
Bbsbls2020 = "bbsbls2020"
}
This package does not add functionality or features, it just exposes interfaces to be used by other packages.
FAQs
This package exposes interfaces to be implemented by KMS concrete implementations like Extrimian KMS Client.
The npm package @sovrahq/kms-core receives a total of 58 weekly downloads. As such, @sovrahq/kms-core popularity was classified as not popular.
We found that @sovrahq/kms-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.