All Projects → solokeys → Solo

solokeys / Solo

Licence: other
Solo 1: open security key supporting FIDO2 & U2F over USB + NFC

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Solo

Opensk
OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.
Stars: ✭ 2,114 (+6.45%)
Mutual labels:  hardware, u2f, webauthn, fido2
clarion
WebAuthn (U2F) helper for CLI operations (e.g. SSH Log in)
Stars: ✭ 78 (-96.07%)
Mutual labels:  u2f, webauthn, fido2
awesome-yubikey
Curated list of awesome Yubikey resources, open source projects, tools and tutorials.
Stars: ✭ 22 (-98.89%)
Mutual labels:  u2f, webauthn, fido2
wp-webauthn
🔒 WP-WebAuthn allows you to safely login to your WordPress site without password.
Stars: ✭ 85 (-95.72%)
Mutual labels:  u2f, webauthn, fido2
uru-card
Arduino based firmware for FIDO2 Authenticator
Stars: ✭ 114 (-94.26%)
Mutual labels:  webauthn, fido2
U2f Zero
U2F USB token optimized for physical security, affordability, and style
Stars: ✭ 2,275 (+14.55%)
Mutual labels:  hardware, u2f
FIDO-Server
Open-source FIDO server, featuring the FIDO2 standard.
Stars: ✭ 17 (-99.14%)
Mutual labels:  webauthn, fido2
keycloak-radius-plugin
Make the radius server as part of keycloak SSO
Stars: ✭ 102 (-94.86%)
Mutual labels:  webauthn, fido2
android-webauthn-authenticator
A WebAuthn Authenticator for Android leveraging hardware-backed key storage and biometric user verification.
Stars: ✭ 101 (-94.91%)
Mutual labels:  webauthn, fido2
kagi
WebAuthn security keys and TOTP multi-factor authentication for Django
Stars: ✭ 17 (-99.14%)
Mutual labels:  u2f, webauthn
line-fido2-server
FIDO2(WebAuthn) server officially certified by FIDO Alliance and Relying Party examples.
Stars: ✭ 350 (-82.38%)
Mutual labels:  webauthn, fido2
go-libfido2
libfido2 bindings for golang
Stars: ✭ 42 (-97.89%)
Mutual labels:  webauthn, fido2
webauthn-demo
WebAuthn demo with Ionic/Angular and Spring Boot
Stars: ✭ 22 (-98.89%)
Mutual labels:  webauthn, fido2
adfsmfa
MFA for ADFS 2022/2019/2016/2012r2
Stars: ✭ 86 (-95.67%)
Mutual labels:  webauthn, fido2
webauthn-example
Basic WebAuthn client and server in go
Stars: ✭ 53 (-97.33%)
Mutual labels:  webauthn, fido2
u2f-php
FIDO/FIDO2 Universal 2 Factors (U2F) support for PHP
Stars: ✭ 25 (-98.74%)
Mutual labels:  u2f, webauthn
Polypoint
Indoor localization based on the DecaWave DW1000.
Stars: ✭ 119 (-94.01%)
Mutual labels:  hardware
Usb Relay Hid
Software for USB-connected relays with HID interface. See the WIKI for more info.
Stars: ✭ 132 (-93.35%)
Mutual labels:  hardware
Gpio
Go library to do GPIO on systems with /sys/class/gpio (sysfs)
Stars: ✭ 120 (-93.96%)
Mutual labels:  hardware
Balanduino
Git repository for the Balanduino balancing robot
Stars: ✭ 118 (-94.06%)
Mutual labels:  hardware

latest release Keybase Chat Build Status

Solo is an open source security key. We just launched Solo v2, join our campaign on Kickstarter!

Solo supports FIDO2 and U2F standards for strong two-factor authentication and password-less login, and it will protect you against phishing and other online attacks. With colored cases and multilingual guides we want to make secure login more personable and accessible to everyone around the globe.

This repo contains the Solo firmware, including implementations of FIDO2 and U2F (CTAP2 and CTAP) over USB and NFC. The main implementation is for STM32L432, but it is easily portable.

For development no hardware is needed, Solo also runs as a standalone application for Windows, Linux, and Mac OSX. If you like (or want to learn) hardware instead, you can run Solo on the NUCLEO-L432KC development board, or we make Solo for Hacker, an unlocked version of Solo that lets you customize its firmware.

Security

Solo is based on the STM32L432 microcontroller. It offers the following security features.

  • True random number generation to guarantee random keys.
  • Security isolation so only simple & secure parts of code can handle keys.
  • Flash protection from both external use and untrusted code segments.
  • 256 KB of memory to support hardened crypto implementations and, later, additional features such as OpenPGP or SSH.
  • No NDA needed to develop for.

Solo for Hackers

Solo for Hacker is a special version of Solo that let you customize its firmware, for example you can change the LED color, and even build advanced applications.

Check out solokeys.com, for options on where to buy Solo. Solo Hacker can be converted to a secure version, but normal Solo cannot be converted to a Hacker version.

If you have a Solo for Hacker, here's how you can load your own code on it. You can find more details, including how to permanently lock it, in our documentation. We support Python3.

For example, if you want to turn off any blue light emission, you can edit led_rgb() and change LED_INIT_VALUE to be a different hex color.

Then recompile, load your new firmware, and enjoy a different LED color Solo.

In the Hacker version, hardware is the same but the firmware is unlocked, so you can 1) load an unsigned application, or 2) entirely reflash the key. By contrast, in a regular Solo you can only upgrade to a firmware signed by SoloKeys, and flash is locked and debug disabled permanently.

Hacker Solo isn't really secure so you should only use it for development. An attacker with physical access to a Solo for Hacker can reflash it following the steps above, and even a malware on your computer could possibly reflash it.

Checking out the code

git clone --recurse-submodules https://github.com/solokeys/solo
cd solo

If you forgot the --recurse-submodules while cloning, simply run git submodule update --init --recursive.

make update will also checkout the latest code on master and submodules.

Checking out the code to build a specific version

You can checkout the code to build a specific version of the firmware with:

VERSION_TO_BUILD=2.5.3
git fetch --tags
git checkout ${VERSION_TO_BUILD}
git submodule update --init --recursive

Installing the toolchain and applying updates

In order to compile ARM code, you need the ARM compiler and other things like bundling bootloader and firmware require the solo-python python package. Check our documentation for details.

You can update your solokey after running pip3 install solo-python with solo key update for the latest version. To apply a custom image use solo program bootloader <file>(.json|.hex).

Installing the toolkit and compiling in Docker

Alternatively, you can use Docker to create a container with the toolchain. You can run:

# Build the toolchain container
make docker-build-toolchain

# Build all versions of the firmware in the "builds" folder
make docker-build-all

The builds folder will contain all the variation on the firmware in .hex files.

Build locally

Prereqs

  1. Install Rust and add the thumbv7em-none-eabihf target.
rustup target add thumbv7em-none-eabihf

Building

If you have the toolchain installed on your machine you can build the firmware with:

cd targets/stm32l432
make cbor
make build-hacker
cd ../..

make venv
source venv/bin/activate
solo program aux enter-bootloader
solo program bootloader targets/stm32l432/solo.hex

Developing Solo (No Hardware Needed)

Prereqs

  1. Need libsodium. On debian, install:
sudo apt install libsodium-dev 

Building

Clone Solo and build it

git clone --recurse-submodules https://github.com/solokeys/solo
cd solo
make all

This builds Solo as a standalone application. Solo application is set up to send and recv USB HID messages over UDP to ease development and reduce need for hardware.

Testing can be done using our fork of Yubico's client software, python-fido2. Our fork of python-fido2 has small changes to make it send USB HID over UDP to the authenticator application. You can install our fork by running the following:

pip install -r tools/requirements.txt

Run the Solo application:

./main

In another shell, you can run our test suite.

You can find more details in our documentation, including how to build on the the NUCLEO-L432KC development board.

Documentation

Check out our official documentation.

Contributors

Solo is an upgrade to U2F Zero. It was born from Conor's passion for making secure hardware, and from our shared belief that security should be open to be trustworthy, in hardware like in software.

This project follows the all-contributors specification. Contributions of any kind welcome! The ultimate goal is to have a FIDO2 security key supporting USB, NFC, and BLE interfaces, that can run on a variety of MCUs. Look at the issues to see what is currently being worked on. Feel free to add issues as well.

Thanks goes to these wonderful people (emoji key):


Szczepan Zalega

💻 📖 🤔

Wessel dR

📖

Adam Langley

🐛 💻

Oleg Moiseenko

💻

Alex Seigler

🐛

Dominik Schürmann

🐛

Ernie Hershey

📖

Andrea Corna

🚇

Paul Jimenez

🚇 💻

yparitcher

🤔 🚧

StoyanDimitrov

📖

alphathegeek

🤔

Radoslav Gerganov

🤔 💻

Manuel Domke

🤔 💻 💼

Piotr Esden-Tempski

💼

f.m3hm00d

📖

Richard Hughes

🤔 💻 🚇 🔧

Kim Schulz

💼 🤔

Jakub

🐛

Jan A.

💻 📖

ccinelli

🚇 ⚠️

Nitrokey

💻 ⚠️ 🤔

Enrik Berkhan

💻 🚧 🤔

Saravanan Palanisamy

📖

dmpiergiacomo

💻 🐛

License

Solo is fully open source.

All software, unless otherwise noted, is dual licensed under Apache 2.0 and MIT. You may use Solo software under the terms of either the Apache 2.0 license or MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

All hardware, unless otherwise noted, is dual licensed under CERN and CC-BY-SA. You may use Solo hardware under the terms of either the CERN 1.2 license or CC-BY-SA 4.0 license.

All documentation, unless otherwise noted, is licensed under CC-BY-SA. You may use Solo documentation under the terms of the CC-BY-SA 4.0 license

FOSSA Status

Where To Buy Solo

You can buy Solo, Solo Tap, and Solo for Hackers at solokeys.com.




License All Contributors Build Status Discourse Users Keybase Chat FOSSA Status

latest release commits since last release last commit commit activity contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].