
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@kravc/credentials
Advanced tools
CLI for [Credentials](https://api.credentials.kra.vc/v1/) service.
CLI for Credentials service to manage issuers and verifiable credentials.
Install npm package as development dependency:
npm i --save-dev @kravc/credentials
Create ./issuer.json
file with issuer metadata, icon and credential
types, e.g:
{
"iconPath": "icon.png",
"metadata": {
"url": "https://apple.co/394ouT8",
"title": "Mines - Classic Bomb Puzzle",
"subtitle": "Minesweeper logic board game",
"category": "Games"
},
"credentialTypes": [
{
"name": "Score",
"version": 1,
"schemas": [
{
"name": "Player",
"fields": [
{ "name": "id", "$type": "string" },
{ "name": "hasVideoGameScore", "$type": "ref", "$ref": "VideoGameScore" }
]
},
{
"name": "VideoGameScore",
"fields": [
{ "name": "videoGame", "$type": "ref", "$ref": "VideoGame" },
{ "name": "wins", "$type": "integer" },
{ "name": "rounds", "$type": "integer" },
{ "name": "winRate", "$type": "integer" },
{ "name": "topScore", "$type": "integer" },
{ "name": "topScoreJson", "$type": "string" },
{ "name": "bestStreak", "$type": "integer" },
{ "name": "bestStreakJson", "$type": "string" },
{ "name": "enduranceMs", "$type": "integer" },
{ "name": "bestRoundMs", "$type": "integer" },
{ "name": "bestRoundJson", "$type": "string" },
{ "name": "averageRoundMs", "$type": "integer" },
{ "name": "dateStarted", "$type": "dateTime" }
]
},
{
"url": "https://schema.org/",
"name": "VideoGame",
"fields": [
{ "name": "url", "$type": "string" },
{ "name": "name", "$type": "string" },
{ "name": "version", "$type": "string" }
]
}
]
}
]
}
Registers a new issuer:
npx credentials issuer.json
If the script runs for the first time it generates key pair (DID) for the
administrator and stores it in the local keychain. This behavior could be
overriden by using .portal.json
file.
To pre-configure administrators identity, generate private key seed via:
npx credentials seed
Create .portal.json
file replacing DEFAULT_SEED
with the value generated
via seed command:
{
"default": "DEFAULT_SEED"
}
Make sure the file is added to the .gitignore
and is not committed.
Check out full set of files at example/ folder.
Author: Alexander Kravets
Revision: June 23, 2021
FAQs
CLI for [Credentials](https://api.credentials.kra.vc/v1/) service.
The npm package @kravc/credentials receives a total of 0 weekly downloads. As such, @kravc/credentials popularity was classified as not popular.
We found that @kravc/credentials demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.