We're updating the issue view to help you get more done. 

yubikey creation does not verify content

Description

This is what i see:

When sending a PUT to /users/:user/yubikeys with payload {otp: "hello"}
and when doing a GET to /users/:user/ the responds contains:
"yubikeys":[""]

This makes it not possible to delete yubikeys data (no uuid there), and when users in that situation tries to login, makes snarl crash thouse not letting them login successfully.

Environment

None

Status

Assignee

Heinz N. Gies

Reporter

Phillip Neumann

Labels

None

Fix versions

Priority

High