@cartesi/passkey-server
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Passkey Server for ZeroDev Kernel

This project is minimal in-memory passkey server to be used with ZeroDev passkey applications.

It implements the protocol expected by the @zerodev/webauthn-key library.

The protocol is not formally specified but there is some documentation about it.

Prerequisites

Before running the application, ensure you have the following installed:

Installation

To set up the project, clone the repository and install dependencies:

git clone git@github.com:cartesi/passkey-server.git
cd passkey-server
pnpm i

Running the Application

To start the server, run the following command:

pnpm run dev

This will start the server on the default port. To select a different port use the --port option.

The server does not use any persistence to store credentials. So if you try to login with an existing passkey stored in your device, but that has not been registered with the passkey-server it won't work.

Readme

Keywords

none

Package Sidebar

Install

npm i @cartesi/passkey-server

Weekly Downloads

20

Version

1.0.1

License

none

Unpacked Size

46 kB

Total Files

27

Last publish

Collaborators

  • vfusco
  • carlofragni
  • stephc
  • felipeargento
  • tuler
  • miltonjonat