@@ -4,57 +4,54 @@ A Linux Credential Manager API.
44
55(Previously called ` linux-webauthn-platform-api ` .)
66
7- ## How to run
7+ ## How to install
88
9- ### Build Requirements
9+ ### From packages
1010
11- This project uses Meson and Ninja.
11+ We have [ precompiled RPM packages for Fedora and openSUSE] [ obs-packages ] hosted
12+ by Open Build Services (OBS). We also copy these for released versions to the
13+ [ release page] [ release-page ] .
1214
13- Package requirements :
15+ There are several sub-packages :
1416
15- - GTK4
16- - gettext
17- - libdbus-1
18- - libssl/openssl
19- - libudev
20- - desktop-file-utils
17+ - ` credentialsd ` : The core credential service
18+ - ` credentialsd-ui ` : The reference implementation of the UI component for
19+ credentialsd.
20+ - ` credentialsd-webextension ` : Binaries and manifest files required for the
21+ Firefox add-on to function
2122
22- Using the web extension also requires ` python3-dbus-next ` .
23+ [ obs-packages ] : https://build.opensuse.org/package/show/home:MSirringhaus:webauthn_devel/credentialsd
24+ [ release-page ] : https://github.com/linux-credentials/credentialsd/releases
2325
24- For example, on Ubuntu:
26+ ### From source
2527
26- ``` shell
27- sudo apt update && sudo apt install \
28- # Build dependencies
29- curl git build-essential \
30- # Meson/Ninja dependencies
31- python3 python3-pip python3-setuptools python3-wheel ninja-build \
32- # project dependencies
33- libgtk-4-dev gettext libdbus-1-dev libssl-dev libudev-dev \
34- # packaging dependencies
35- desktop-file-utils \
36- ```
28+ Alternatively, you can build the project yourself using the instructions in
29+ [ BUILDING.md] ( /BUILDING.md ) .
3730
38- ### Compiling
31+ ## How to use
3932
40- ``` shell
41- git clone https://github.com/linux-credentials/credentialsd
42- cd credentialsd
43- meson setup build -Dprofile=development
44- ninja -C build
45- ```
33+ Right now, there are two ways to use this service.
4634
47- ### Running the server
35+ ### Experimental Firefox Add-On
4836
49- ``` shell
50- # Run the server, with debug logging enabled
51- export GSETTINGS_SCHEMA_DIR=build/credentialsd-ui/data
52- export RUST_LOG=credentialsd=debug,credentials_ui=debug
53- ./build/credentialsd/target/debug/credentialsd &
54- ./build/credentialsd-ui/target/debug/credentialsd-ui
55- ```
37+ There is an add-on that you can install in Firefox 140+ that allows you to test
38+ ` credentialsd ` without a custom Firefox build. You can get the XPI from the
39+ [ releases page] [ release-page ] for the corresponding version of
40+ ` credentialsd-webextension ` package that you installed.
41+
42+ Currently, this add-on only works for https://webauthn.io and
43+ https://demo.yubico.com , but can be used to test various WebAuthn options and
44+ hardware.
45+
46+ ### Experimental Firefox Build
47+
48+ There is also an experimental Firefox build that contains a patch to interact
49+ with ` credentialsd ` directly without an add-on. You can access a
50+ [ Flatpak package for it on OBS] [ firefox-patch-flatpak ] as well.
51+
52+ [ firefox-patch-flatpak ] : https://download.opensuse.org/repositories/home:/MSirringhaus:/webauthn_devel/openSUSE_Factory_flatpak/
5653
57- ### Clients
54+ ## Clients
5855
5956There is a demo client in the ` demo_client ` . It mimics an RP, saving the created public keys to a local file and verifying assertions against it.
6057
@@ -64,7 +61,7 @@ cd demo_client/
6461./main.py get
6562```
6663
67- There is also a demo web extension that can be used to test the service in Firefox. Instructions are in [ webext/README.md] ( ) .
64+ There is also a demo web extension that can be used to test the service in Firefox. Instructions are in [ / webext/README.md] ( ) .
6865
6966## Goals
7067
@@ -109,4 +106,4 @@ Alternatively, lock out the credential based on incorrect attempts.
109106
110107# License
111108
112- See the [ LICENSE.md] ( LICENSE.md ) file for license rights and limitations (LGPL-3.0-only).
109+ See the [ LICENSE.md] ( / LICENSE.md) file for license rights and limitations (LGPL-3.0-only).
0 commit comments