
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@vidos-id/openid4vc-wallet-cli
Advanced tools
CLI for dc+sd-jwt wallet storage and OpenID4VP presentation.
CLI for OpenID4VCI credential receipt, dc+sd-jwt wallet storage, IETF credential status resolution, and OpenID4VP presentation. Wraps the @vidos-id/openid4vc-wallet library.
For the full issue-hold-present flow, see the root README.
Prefer using this CLI for wallet tasks instead of re-implementing protocol steps in agent code. In particular, openid4vc-wallet receive already handles the supported OID4VCI offer redemption flow end to end.
Running openid4vc-wallet with no subcommand starts the interactive mode by default.
Install the published CLI from npmjs:
bun install -g @vidos-id/openid4vc-wallet-cli
openid4vc-wallet --help
Or with npm:
npm install -g @vidos-id/openid4vc-wallet-cli
openid4vc-wallet --help
For development in this repo, you can run the bin entry directly with Bun:
bun packages/wallet-cli/src/cli.ts --help
--wallet-dirholder-key.json - Holder key pair (private + public JWK)wallet.json - Wallet manifest with credential indexcredentials/<credential-id>.json - Stored credentialsRun the CLI with no subcommand:
openid4vc-wallet
openid4vc-wallet --wallet-dir ./my-wallet
Interactive mode can:
initInitialize a wallet directory and create (or import) a holder key.
openid4vc-wallet init --wallet-dir ./my-wallet
openid4vc-wallet init --wallet-dir ./my-wallet --alg EdDSA
openid4vc-wallet init --wallet-dir ./my-wallet --holder-key-file ./existing-key.jwk.json
openid4vc-wallet init --wallet-dir ./my-wallet --output json
receiveReceive and store a credential from a minimal OpenID4VCI credential offer.
This is the primary way to add credentials into the wallet.
# From an openid-credential-offer URI
openid4vc-wallet receive \
--wallet-dir ./my-wallet \
--offer 'openid-credential-offer://?credential_offer=...'
# From inline credential-offer JSON
openid4vc-wallet receive \
--wallet-dir ./my-wallet \
--offer '{"credential_issuer":"https://issuer.example",...}'
# From a by-reference offer URI
openid4vc-wallet receive \
--wallet-dir ./my-wallet \
--offer 'openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fissuer.example%2Foffers%2Fperson-1'
Notes:
--output json for full detailscredential_offer and by-reference credential_offer_uri/.well-known/openid-credential-issuer[issuer-path]importImport an already-issued compact dc+sd-jwt credential.
Use this only when you already have the raw credential blob. Prefer receive whenever you have an OpenID4VCI offer.
openid4vc-wallet import \
--wallet-dir ./my-wallet \
--credential-file ./issuer/credential.txt
listList stored credentials.
openid4vc-wallet list --wallet-dir ./my-wallet
openid4vc-wallet list --wallet-dir ./my-wallet --vct urn:eudi:pid:1
openid4vc-wallet list --wallet-dir ./my-wallet --issuer https://issuer.example
showShow a single stored credential by id.
openid4vc-wallet show --wallet-dir ./my-wallet --credential-id <id>
openid4vc-wallet show --wallet-dir ./my-wallet --credential-id <id> --output raw
openid4vc-wallet show --wallet-dir ./my-wallet --credential-id <id> --output json
presentCreate a DCQL-based OpenID4VP presentation from wallet credentials.
openid4vc-wallet present \
--wallet-dir ./my-wallet \
--request 'openid4vp://authorize?...'
openid4vc-wallet present \
--wallet-dir ./my-wallet \
--request 'openid4vp://authorize?...' \
--dry-run \
--output json
openid4vc-wallet with no subcommand starts interactive mode--wallet-dir <dir> - wallet directory for interactive mode--verbose - enable verbose logging to stderr--version - show version number--help - show help for a commandreceive is the primary credential-ingest pathimport is a local raw-credential fallbackpresent prepares direct_post and direct_post.jwt submissions automatically, then submits them unless --dry-run is setpresent --dry-run --output json, the result includes preparedSubmission so callers can inspect the target URL, headers, and form body without sending anythingpresent prompts interactively in a TTY or returns an error with a --credential-id suggestion in non-interactive environmentsshow automatically fetches, verifies, and decodes IETF status list JWTs for stored credentials that include a status.status_list referencebun test packages/wallet-cli/src/index.test.ts
FAQs
CLI for dc+sd-jwt wallet storage and OpenID4VP presentation.
We found that @vidos-id/openid4vc-wallet-cli 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.