# webauthn test

This is a demo/test page for generating FIDO keys and signatures in SSH formats. The page initially displays a form to generate a FIDO key and convert it to a SSH public key.

Once a key has been generated, an additional form will be displayed to allow signing of data using the just-generated key. The data may be signed as either a raw SSH signature or wrapped in a sshsig message (the latter is easier to test using command-line tools.

Lots of debugging is printed along the way.

## Enroll

Username: |

## clientData

## attestationObject raw

## attestationObject

## key handle

## authData raw

## authData

## SSH pubkey blob

## SSH pubkey string

## SSH private key string

## Assert

Data to sign: |
use sshsig format
Signature namespace: |

## clientData

## signature raw

## authenticatorData raw

## authenticatorData

## signature in SSH format

## signature in SSH format (base64 encoded)