Commit Graph

  • dc60a71cb9 cmd/snap-fde-keymgr: leave a TODO about idempotency Maciej Borzecki 2022-04-26 15:07:13 +02:00
  • ef0a4f0f4a tests: fix core/basic20 test Michael Vogt 2022-04-26 14:59:56 +02:00
  • e128ce2044 Fix build errors after merging master. Paweł Stołowski 2022-04-26 14:12:20 +02:00
  • 2c7415b632 Merge branch 'master' into core20-preseed/maybe-apply-preseed Paweł Stołowski 2022-04-26 14:08:23 +02:00
  • a59232e2d3 cmd/snap-fde-keymgr: update arguments in mocks, leave a TODO Maciej Borzecki 2022-04-26 13:46:56 +02:00
  • 2ae63ad941 secboot: update the order of arguments Maciej Borzecki 2022-04-26 13:46:29 +02:00
  • 5de665fe23 secboot/keymgr: change args order, tweak KDF options, extend unit tests Maciej Borzecki 2022-04-26 13:41:54 +02:00
  • 65df41828e Tweak the error about missing model. Paweł Stołowski 2022-04-26 13:40:05 +02:00
  • ec2ea676b5 Also test a snap with revision unset. Paweł Stołowski 2022-04-26 13:35:25 +02:00
  • a5de81bb0b seed: let SnapHandler provided a different final path for snaps Samuele Pedroni 2022-04-25 17:50:59 +02:00
  • 2ef9edf40e Add test for snap cross-check. Paweł Stołowski 2022-04-26 13:27:05 +02:00
  • 5b97b04f7d many: let provide a SnapHandler to Seed.Load*Meta* Samuele Pedroni 2022-04-26 12:54:07 +02:00
  • 26d623f3a3 cmd/snap: review feedback Philip Meulengracht 2022-04-26 12:27:24 +02:00
  • 76dc9327d2 Cross-check preseed snaps with the seed snaps. Paweł Stołowski 2022-04-26 12:19:17 +02:00
  • 6bd6271f16 interfaces/apparmor: review feedback Philip Meulengracht 2022-04-26 11:50:20 +02:00
  • 3a9aaabe38 Merge pull request #11711 from stolowski/atomic-file-modtime Pawel Stolowski 2022-04-26 11:40:56 +02:00
  • e38b4f26f0 cmd/snap-fde-keymgr: use secboot/keys Maciej Borzecki 2022-04-26 11:34:15 +02:00
  • 6538596c56 Merge branch 'bboozzoo/secboot-keys' into bboozzoo/factory-reset-snap-fde-keymgr-wip Maciej Borzecki 2022-04-26 11:32:29 +02:00
  • 5f6cd94bed Use temporary db to read preseed assertion on top of the assertions db. Paweł Stołowski 2022-04-26 11:27:23 +02:00
  • e556d98904 daemon: use secboot/keys Maciej Borzecki 2022-04-26 10:54:18 +02:00
  • 26a81c38da o/hookstate/ctlcmd: use secboot/keys Maciej Borzecki 2022-04-26 10:52:35 +02:00
  • b2d9d09296 o/devicestate: use secboot/keys Maciej Borzecki 2022-04-26 10:51:31 +02:00
  • e86d3d8051 tests/lib/uc20-create-partitions: use secboot/keys Maciej Borzecki 2022-04-26 10:51:16 +02:00
  • 6deffc66fe gadget/install: use secboot/keys Maciej Borzecki 2022-04-26 10:38:15 +02:00
  • 6ce1d791a2 boot: move to secboot/keys Maciej Borzecki 2022-04-26 10:33:14 +02:00
  • af8da5ae58 secboot/keys: move the key types to a separate package Maciej Borzecki 2022-04-26 10:22:21 +02:00
  • 4fda5f3bdc gadget/install: use secboot/keys Maciej Borzecki 2022-04-26 10:38:15 +02:00
  • 4d1f709c62 boot: move to secboot/keys Maciej Borzecki 2022-04-26 10:33:14 +02:00
  • 97420bd589 secboot: restore AddRecoveryKey which calls to keymgr Maciej Borzecki 2022-04-26 10:28:45 +02:00
  • 49023613a9 secboot/keymgr: use secboot/keys package Maciej Borzecki 2022-04-26 10:27:25 +02:00
  • 5674a7b7e5 Revert "gadget/install: use secboot/keymgr for adding a recovery key" Maciej Borzecki 2022-04-26 10:23:35 +02:00
  • fc080a2968 secboot/keys: move the key types to a separate package Maciej Borzecki 2022-04-26 10:22:21 +02:00
  • 28648b8fdd Merge branch 'master' into core20-preseed/maybe-apply-preseed Paweł Stołowski 2022-04-26 09:52:35 +02:00
  • d6b5ca048f Merge pull request #11717 from mvo5/systemd-run-wrapper Maciej Borzecki 2022-04-26 09:44:38 +02:00
  • 9cd9d2904f interfaces: fix opengl interface on RISC-V Michał Sawicz 2022-04-25 20:05:54 +02:00
  • 84e9ce6bb4 snap: run go fmt Michael Vogt 2022-04-25 20:32:29 +02:00
  • 6737982984 gadget/install: use secboot/keymgr for adding a recovery key Maciej Borzecki 2022-04-25 19:22:57 +02:00
  • a49589fa65 secboot/keymgr: add code for adding a recovery key using other key for authorization Maciej Borzecki 2022-04-25 19:20:52 +02:00
  • b5bfeee018 color: simplify/clarify code (thanks to Samuele) Michael Vogt 2022-04-25 19:21:24 +02:00
  • 3988a93de8 secboot: drop code for adding a recovery key Maciej Borzecki 2022-04-25 19:20:35 +02:00
  • 88bcf92352 tests: update listing test for new output of verified developers Michael Vogt 2022-04-25 17:40:18 +02:00
  • 38a2321cd2 systemd: add systemd.Run() wrapper for systemd-run Maciej Borzecki 2022-04-22 14:52:54 +02:00
  • 7071d25734 Use 2 jobs if >1 cpu. Paweł Stołowski 2022-04-25 17:13:16 +02:00
  • c7706a91a1 packaging/debian-sid: do not ship snap-fde-keymgr Maciej Borzecki 2022-04-25 13:45:46 +02:00
  • c8569a459b packaging/ubuntu-16.04: ship snap-fde-keymgr Maciej Borzecki 2022-04-25 13:44:00 +02:00
  • 7469b67599 packaging/ubuntu-14.04: do not ship snap-keymgr Maciej Borzecki 2022-04-25 13:43:43 +02:00
  • b42d510723 cmd/snap-fde-keymgr: tool for managing encryption keys Maciej Borzecki 2022-04-25 09:35:38 +02:00
  • 3db9c2ca87 secboot/keymgr: helpers to add/remove recovery key and change the encryption key Maciej Borzecki 2022-04-25 13:05:38 +02:00
  • e45a076a6f secboot/keyring: import smallish bits of github.com/snapcore/secboot/internal/keyring Maciej Borzecki 2022-04-25 13:02:10 +02:00
  • a466265db2 secboot/luks2: import luks2 pieces from github.com/snapcore/secboot Maciej Borzecki 2022-04-25 09:35:54 +02:00
  • a659de589a dirs: add /run dir Maciej Borzecki 2022-04-22 14:52:43 +02:00
  • 6de8b7a60e snap: update "star" to appear in bright yellow (thanks to Holly) Michael Vogt 2022-04-25 16:01:21 +02:00
  • 0d38c8cb3e cmd/snap: in the future reinstall-key will not exist, skip printing it Samuele Pedroni 2022-04-25 15:16:55 +02:00
  • 557fe98c05 secboot,o/devicestate: sketching new support for ensuring/removing recovery key(s) Samuele Pedroni 2022-04-25 14:59:09 +02:00
  • 54015bdec4 daemon,o/devicestate: move recovery keys responsibility to DeviceManager Samuele Pedroni 2022-04-25 13:59:48 +02:00
  • 09fa1c8961 cmd/snap: handler call verifications for quota tests Philip Meulengracht 2022-04-25 15:00:45 +02:00
  • 5f413cdfc7 Set atime to time.Now(); add doc comment. Paweł Stołowski 2022-04-25 12:47:22 +02:00
  • 37f3ed6253 Set parallelism on firstboot seeding and in snap-bootstrap. Paweł Stołowski 2022-04-25 12:20:37 +02:00
  • 86102ad54a seed: small cleanups and clarifications Samuele Pedroni 2022-04-25 11:20:21 +02:00
  • cbcc460bdc a/snapasserts: tweak/rewrap the DeriveSideInfo* doc comments Samuele Pedroni 2022-04-25 11:05:14 +02:00
  • 66b1013c8f tests: test fresh install of core22-based snap (#11696) Miguel Pires 2022-04-25 10:03:01 +01:00
  • acd7d02504 Merge branch 'master' into add-grub-fallback Alfonso Sánchez-Beato 2022-04-25 10:55:52 +02:00
  • 26352ada90 asserts: Fix Account.Validation doc string (thanks to Samuele) Michael Vogt 2022-04-25 10:49:30 +02:00
  • 0e0d0d6e73 Allow setting desired motification time on the AtomicFile. Preserve modtime in AtomicWriteFileCopy. Paweł Stołowski 2022-04-25 10:47:34 +02:00
  • 992c91028d Merge pull request #11703 from sergiocazzolato/tests-add-more-nested-to-uc22 Sergio Cazzolato 2022-04-23 19:08:02 -03:00
  • 2524872f0a spread.yaml: changes in the branch break our API with ubuntu-image Samuele Pedroni 2022-04-23 09:42:26 +02:00
  • a3287bc912 many: let provide a SnapHandler to Seed.Load*Meta* Samuele Pedroni 2022-04-22 21:03:07 +02:00
  • c84fc80f68 Wait until device is initialized and then ask for the serial Sergio Cazzolato 2022-04-22 13:48:49 -03:00
  • afe3f29b8c seed: use DeriveSideInfoFromDigestAndSize in seed16 Samuele Pedroni 2022-04-22 17:42:11 +02:00
  • c848f677d8 a/snapasserts: introduce DeriveSideInfoFromDigestAndSize Samuele Pedroni 2022-04-22 17:41:14 +02:00
  • f1d5fdffcc snap: fix silly typo (thanks to Alberto) Michael Vogt 2022-04-22 17:14:39 +02:00
  • 8e98f752fb Merge pull request #11679 from MiguelPires/fix-rm-dir Michael Vogt 2022-04-22 16:28:42 +02:00
  • 70644cf041 Small cleanups per review comments. Paweł Stołowski 2022-04-22 16:27:41 +02:00
  • 290689cb39 snap: implement "star" developers Michael Vogt 2022-04-22 15:54:59 +02:00
  • 0c8b6bfe43 Merge pull request #11706 from stolowski/fix-interfaces-location-control-test-leak Michael Vogt 2022-04-22 15:26:54 +02:00
  • 2aa9afad5e Simplify the tests with mockPreseedAssertion helper. Paweł Stołowski 2022-04-22 14:55:14 +02:00
  • b2a8112ef6 Add test for invalid digest and model. Paweł Stołowski 2022-04-22 14:39:02 +02:00
  • e0d9e009b9 tests: add spread test to test upgrade from release snapd to current Michael Vogt 2022-04-21 19:56:03 +02:00
  • cac4b530df Drop extra task log statement. Paweł Stołowski 2022-04-22 14:18:03 +02:00
  • 9796d6537c tests/nested: fix custom-device test Alberto Mardegan 2022-04-21 14:57:49 +03:00
  • 21b0fbe158 Merge pull request #11701 from mardy/custom-revice-test-fix Michael Vogt 2022-04-22 14:03:05 +02:00
  • b7a5647c8e Fix failing tests Sergio Cazzolato 2022-04-22 08:56:58 -03:00
  • 37ced66b8d Implement missing fakeSeed method. Paweł Stołowski 2022-04-22 13:50:31 +02:00
  • d1e95208ef Merge branch 'master' into fix-rm-dir Miguel Pires 2022-04-22 12:20:29 +01:00
  • 6d030e71b1 Merge pull request #11508 from MiguelPires/revert-mig-test Michael Vogt 2022-04-22 12:33:38 +02:00
  • b4abf1cf39 Fix interfaces-location-control tests leaking provider.py process. Paweł Stołowski 2022-04-22 12:22:12 +02:00
  • 482327da35 interfaces/apparmor: add extra layouts support to apparmor backend Philip Meulengracht 2022-04-22 11:21:51 +02:00
  • 76a2d986a6 interfaces/mount: review feedback Philip Meulengracht 2022-04-22 11:10:58 +02:00
  • 23541f1e7c Merge branch 'master' into core20-preseed/maybe-apply-preseed Paweł Stołowski 2022-04-22 10:31:22 +02:00
  • 25cc971e0d asserts,store: complete support for optional primary key headers for assertions Samuele Pedroni 2022-04-22 09:49:34 +02:00
  • 1a391cc70d seed: support parallelism when loading/verifying snap metadata Samuele Pedroni 2022-04-22 09:47:25 +02:00
  • ed65ac3aee overlord/ifacestate: fix unit tests Philip Meulengracht 2022-04-22 09:29:36 +02:00
  • 268585dedb interfaces: add extraLayouts to support additional mount entries Philip Meulengracht 2022-04-22 09:24:15 +02:00
  • b1dbd2b2f7 many: move AA profile operations to sandbox/apparmor Alberto Mardegan 2022-04-21 13:23:11 +03:00
  • 89b71afbbf Adding initial set of tests to uc22 nested execution Sergio Cazzolato 2022-04-21 18:26:33 -03:00
  • 3671caa6be o/snapstate: improve error message Miguel Pires 2022-04-21 16:19:01 +01:00
  • bee5d6bcaf asserts: simplify some of the optional primary keys with default code Samuele Pedroni 2022-04-21 17:11:33 +02:00
  • d688e6338b Merge remote-tracking branch 'upstream/master' into seed-parallel-load-meta Samuele Pedroni 2022-04-21 17:07:19 +02:00
  • 5f0d8a0ce9 Merge branch 'master' into add-grub-fallback Alfonso Sánchez-Beato 2022-04-21 15:59:21 +02:00
  • 63c02475e7 Merge pull request #11622 from stolowski/core20-preseed/prepare-image-sign Michael Vogt 2022-04-21 14:36:31 +02:00