Systemd/src/libsystemd/sd-bus
Lennart Poettering 87d7893cfb homed: support recovery keys
For discussion around this see: https://pagure.io/fedora-workstation/issue/82

Recovery keys for homed are very similar to regular passwords, except
that they are exclusively generated by the computer, and not chosen by
the user. The idea is that they are printed or otherwise stored
externally and not what users type in every day.

Taking inspiration from Windows and MacOS this uses 256bit keys. We
format them in 64 yubikey modhex characters, in groups of 8 chars
separated by dashes.

Why yubikey modhex? modhex only uses characters that are are located at
the same place in western keyboard designs. This should reduce the
chance for incorrect inputs for a major chunk of our users, though
certainly not all. This is particular relevant during early boot and
recovery situations, where there's a good chance the keyboard mapping is
not correctly set up.
2020-08-25 18:14:55 +02:00
..
bus-common-errors.c homed: add support for authenticating with fido2 hmac-secret tokens 2020-07-01 11:17:28 +02:00
bus-common-errors.h homed: support recovery keys 2020-08-25 18:14:55 +02:00
bus-container.c util: split out namespace related stuff into a new namespace-util.[ch] pair 2019-03-13 12:16:38 +01:00
bus-container.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-control.c sd-bus: when installing a match make sure not to apply it to already queued messages 2019-07-11 12:18:51 +02:00
bus-control.h sd-bus: when installing a match make sure not to apply it to already queued messages 2019-07-11 12:18:51 +02:00
bus-convenience.c sd-bus: add va_list variants of variadic convenience functions 2020-04-02 10:26:18 +02:00
bus-creds.c basic/capability-util: let cap_last_cap() return unsigned integer 2020-07-10 16:55:24 +02:00
bus-creds.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-dump.c Remove message->priority field 2020-04-07 15:29:23 +02:00
bus-dump.h sd-bus: export sd_bus_message_dump 2020-01-23 23:38:20 +01:00
bus-error.c sd-bus: add a variant of sd_bus_error_has_name() that takes multiple names 2020-08-24 19:48:22 +02:00
bus-error.h sd-bus: use _variable_no_sanitize_address_ also for BUS_ERROR_MAP_ELF_REGISTER 2018-12-03 17:35:50 +01:00
bus-gvariant.c tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
bus-gvariant.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-internal.c sd-bus: simplify bus_maybe_reply_error 2020-03-31 22:19:22 +02:00
bus-internal.h tree-wide: fixes for assorted grammar and spelling issues 2020-07-06 11:29:05 +02:00
bus-introspect.c bus-introspect: move xml string defines into the .c file 2020-05-03 10:55:51 +02:00
bus-introspect.h bus-introspect: write <interface> from within introspect_write_interface() 2020-05-03 10:55:51 +02:00
bus-kernel.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
bus-kernel.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-match.c sd-bus: when installing a match make sure not to apply it to already queued messages 2019-07-11 12:18:51 +02:00
bus-match.h tree-wide: remove various unused functions 2018-12-02 13:35:34 +09:00
bus-message.c bus-message: add macro for calculation of offset from the page 2020-06-22 17:18:35 +02:00
bus-message.h Remove message->priority field 2020-04-07 15:29:23 +02:00
bus-objects.c sd-bus: introduce new SD_BUS_VTABLE_ABSOLUTE_OFFSET vtable flag 2020-05-13 16:57:44 +02:00
bus-objects.h test-bus-{vtable,introspect}: share data and test introspect_path() 2019-04-23 22:58:26 +02:00
bus-protocol.h bus-introspect: move xml string defines into the .c file 2020-05-03 10:55:51 +02:00
bus-signature.c sd-bus: add define for the maximum signature length 2019-04-11 14:02:59 +02:00
bus-signature.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-slot.c sd-bus: add methods and signals parameter names. Fixes: #1564 2019-02-26 12:55:02 +01:00
bus-slot.h sd-bus: make bus_slot_disconnect() also unref the slot object 2018-07-18 20:54:19 +02:00
bus-socket.c sd-bus: fix error handling on readv() 2020-08-20 14:14:36 +02:00
bus-socket.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-track.c shared: split out BusObjectImplementor APIs 2020-06-30 15:08:35 +02:00
bus-track.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
bus-type.c sd-bus: make name validation functions public 2020-05-25 11:09:21 +02:00
bus-type.h tree-wide: remove various unused functions 2018-12-02 13:35:34 +09:00
GVARIANT-SERIALIZATION codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
sd-bus.c tree-wide: check POLLNVAL everywhere 2020-06-10 08:57:31 +02:00
test-bus-address.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00
test-bus-benchmark.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
test-bus-chat.c tree-wide: Initialize _cleanup_ variables if needed 2020-05-13 22:56:42 +02:00
test-bus-cleanup.c bus: make reference counting non-atomic 2019-03-04 14:16:24 +01:00
test-bus-creds.c basic/cgroup-util: let cgroup_unified_flush() return the detected hierarchy 2019-09-16 18:06:20 +02:00
test-bus-error.c sd-bus: add a variant of sd_bus_error_has_name() that takes multiple names 2020-08-24 19:48:22 +02:00
test-bus-gvariant.c sd-bus: export sd_bus_message_dump 2020-01-23 23:38:20 +01:00
test-bus-introspect.c bus-introspect: write <interface> from within introspect_write_interface() 2020-05-03 10:55:51 +02:00
test-bus-marshal.c sd-bus: export sd_bus_message_dump 2020-01-23 23:38:20 +01:00
test-bus-match.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
test-bus-objects.c sd-bus: export sd_bus_message_dump 2020-01-23 23:38:20 +01:00
test-bus-queue-ref-cycle.c codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
test-bus-server.c tree-wide: we forgot to destroy some bus errors 2020-01-18 17:47:20 +01:00
test-bus-signature.c bus-message: avoid an infinite loop on empty structures 2018-10-02 11:53:20 +02:00
test-bus-track.c test: try system bus if user bus cannot be opened 2018-10-01 10:15:54 +02:00
test-bus-vtable-cc.cc tests,meson: add test-bus-vtable, compiled as C and C++ 2017-05-13 15:50:44 -04:00
test-bus-vtable.c test-bus-vtable: also print introspection for the fallback vtable 2019-08-27 19:49:09 +02:00
test-bus-watch-bind.c tree-wide: use the return value from sockaddr_un_set_path() 2020-03-02 15:55:44 +01:00
test-vtable-data.h test-bus-vtable: also print introspection for the fallback vtable 2019-08-27 19:49:09 +02:00