Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-transport-webauthn

Package Overview
Dependencies
Maintainers
12
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-webauthn

Ledger Hardware Wallet Web implementation of the communication layer, using WebAuthN api

  • 4.73.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
668
increased by496.43%
Maintainers
12
Weekly downloads
 
Created
Source

Github, Ledger Devs Slack

@ledgerhq/hw-transport-webauthn

Allows to communicate with Ledger Hardware Wallets.

[Web] (WebAuthn) – WebAuthn api. check browser support.

Known limitation

There is a "blink" at each time there is a communication with the device due to WebAuthn. WebAuthn is meant for authentification and we use it for communication, ideally prefer WebUSB.

API

Table of Contents

TransportWebAuthn

Extends Transport

WebAuthn Transport implementation

Examples
import TransportWebAuthn from "@ledgerhq/hw-transport-webauthn";
...
TransportWebAuthn.create().then(transport => ...)
exchange

Exchange with the device using APDU protocol.

Parameters

Returns Promise<Buffer> a promise of apdu response

setScrambleKey

A scramble key is a string that xor the data exchanged. It depends on the device app you need to exchange with. For instance it can be "BTC" for the bitcoin app, "B0L0S" for the dashboard.

Parameters
Examples
transport.setScrambleKey("B0L0S")

Keywords

FAQs

Package last updated on 12 Nov 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc