Bruce Leidl
44d5ce660f
Put lockfile in /tmp so that unprivileged users can aquire it
2019-09-20 18:38:21 -04:00
Bruce Leidl
4ce5d439d8
Look up realm by pid.
...
Added RealmManager::realm_by_pid() and dbus method RealmFromCitadelPid
2019-08-26 18:18:26 -04:00
Bruce Leidl
1365054c45
dbus policy file for realmsd
2019-08-25 17:23:07 -04:00
Bruce Leidl
d0eada1e3b
Initial commit of realms dbus daemon
2019-08-25 17:15:13 -04:00
Bruce Leidl
3820bcc08f
upgrade sodiumoxide dependency to version 0.2.2
2019-08-21 00:39:41 -04:00
Bruce Leidl
8ec6f87a22
Install bzImage files with kernel version suffix
2019-08-21 00:39:41 -04:00
Bruce Leidl
ba29516212
Initial commit of update utility to simplify image upgrades
2019-08-21 00:39:41 -04:00
Bruce Leidl
77f19777a8
Write automount unit files for /boot partition
2019-08-21 00:39:41 -04:00
Bruce Leidl
9fb11e3317
Enhanced flexibility in how resource images are mounted.
...
Can now choose location at which resource image is mounted with
mount_at() method. This method also returns a handle which can be
used to later unmount the image.
2019-08-21 00:39:41 -04:00
Bruce Leidl
2e781e2183
Add verity-tag field to verity devices for image types other than realmfs
...
This prevents device name collision when multiple images of the same
type are mounted.
2019-08-21 00:39:41 -04:00
Bruce Leidl
8799604266
Change name of boot entry file from citadel.conf to boot.conf
...
This matches the naming convention of the kernel update installer.
2019-08-21 00:39:41 -04:00
Bruce Leidl
ca521ef053
Improve boot partition detection by verifying ESP GUID value
2019-08-21 00:39:41 -04:00
Bruce Leidl
d1f93e9f34
Refactor realm launching code into separate module.
2019-08-21 00:39:41 -04:00
Bruce Leidl
5eb3194e5b
comment added by cargo
2019-08-21 00:39:41 -04:00
Bruce Leidl
330557acfc
use /usr/bin/dd instead of /bin/dd
2019-08-21 00:39:41 -04:00
Bruce Leidl
79a52b7a46
fix typo in sha256sum path
2019-08-21 00:39:41 -04:00
f02a9ab4c5
fix realmfs resize calculation bug on update + add e2fsck prior to ext4 resize
2019-08-21 04:28:54 +00:00
Bruce Leidl
7d89c47eb2
Clippy fixes
2019-04-03 16:05:09 -04:00
Bruce Leidl
fab4106302
Fix compile failure
2019-04-02 16:12:41 -04:00
Bruce Leidl
3148825680
This was test code and shouldn't have been committed
2019-04-02 16:12:05 -04:00
Bruce Leidl
b38c7cb943
updated main Cargo
2019-04-02 15:33:07 -04:00
Bruce Leidl
1bf90ca447
new tools added to dispatch
2019-04-02 15:32:36 -04:00
Bruce Leidl
3e017ef9f3
added dependencies
2019-04-02 15:32:02 -04:00
Bruce Leidl
c5d5693f62
installer refactored extensively
2019-04-02 15:31:29 -04:00
Bruce Leidl
ffd7a78c3d
updated to new libcitadel api
2019-04-02 15:30:41 -04:00
Bruce Leidl
1fc2292f9b
added a subcommand
2019-04-02 15:29:28 -04:00
Bruce Leidl
adbae8a971
updated to new libcitadel api
2019-04-02 15:26:09 -04:00
Bruce Leidl
fff6ddb15a
citadel-desktopd replaced with citadel-desktop-sync util
2019-04-02 15:22:55 -04:00
Bruce Leidl
ce10df3dfc
citadel-realmfs moved into citadel-tool binary
2019-04-02 15:20:38 -04:00
Bruce Leidl
a984632123
completely rewritten
2019-04-02 15:19:39 -04:00
Bruce Leidl
d9889771d6
a few new dependencies
2019-04-02 15:18:18 -04:00
Bruce Leidl
92cd59eb65
updated with changes to library
2019-04-02 15:17:46 -04:00
Bruce Leidl
8a65aa1708
refactored scattered functions into a class
2019-04-02 15:16:49 -04:00
Bruce Leidl
81e9e224fc
updated to use new ImageHeader correctly
2019-04-02 15:16:12 -04:00
Bruce Leidl
cf85d10055
method added to construct keypair from raw bytes
2019-04-02 15:15:28 -04:00
Bruce Leidl
e493e5180d
implemented some extra functionality
2019-04-02 15:14:41 -04:00
Bruce Leidl
533ed4b8be
ImageHeader refactored to be thread safe and shareable
2019-04-02 15:13:13 -04:00
Bruce Leidl
025d7f3aa4
functions for manipulating symlinks
2019-04-02 15:12:34 -04:00
Bruce Leidl
f9311fa35e
improved logging system and macros
2019-04-02 15:12:10 -04:00
Bruce Leidl
f1ff4e6e20
A new Command wrapper
2019-04-02 15:11:29 -04:00
Bruce Leidl
6f007692dc
added citadel.debug as a recognized kernel command line var
2019-04-02 15:10:27 -04:00
Bruce Leidl
b7d4f1e570
refactor of RealmFS into several components
2019-04-02 15:09:41 -04:00
Bruce Leidl
fcbf63db8e
refactor of Realm into a module with various components
2019-04-02 15:08:55 -04:00
Bruce Leidl
4b4e5f31e7
various low level system utils moved into system module
2019-04-02 15:00:01 -04:00
Bruce Leidl
4bd8c3626f
a module for terminal colors and escape sequences
2019-04-02 14:57:29 -04:00
Bruce Leidl
43800cdc6e
Initial implementation of keyring
...
Keyring is an encrypted file to store secrets. The encryption key is
derived from the disk decryption passphrase so that the file can be
automatically decrypted and processed during boot.
The keys contained in the keyring file are loaded into the kernel key
store so that they can later be retrieved by other components.
Currenly during installation a signing key is generated and stored in
the keyring so that the system can transparently sign RealmFS images
when the user modifies or updates them.
2019-02-02 20:42:42 -05:00
Bruce Leidl
0e1a06ae7f
goodbye Ring hello sodiumoxide
2019-02-02 20:33:50 -05:00
Bruce Leidl
28401b589e
move /run/realms to /run/citadel/realms
2019-01-30 23:36:43 -05:00
Bruce Leidl
d3ac4bb000
small cleanup
2019-01-30 21:43:55 -05:00
Bruce Leidl
2dc32d1f20
Refactor multiple tools into a single binary.
...
citadel-tool now installed with a hardlink for each binary tool and
dispatches on the exe path to the tool implementation. This makes
the build faster, uses less disk space, and makes it easier to
create new small tools.
2019-01-30 21:31:13 -05:00