Commit Graph

  • 1508b290d6 Moved json out function Morten Linderud 2021-05-18 01:31:51 +02:00
  • 3568e9d34b sbctl: Buble up errors from the "library" Morten Linderud 2021-05-17 01:47:52 +02:00
  • b82e17e2ed Return errors when generating bundles Morten Linderud 2021-05-17 01:47:33 +02:00
  • bb78cf9c01 Remove previous logging, improve error bubling Morten Linderud 2021-05-17 01:47:19 +02:00
  • a05e6c8fb8 Fixed commands with colors off Morten Linderud 2021-05-17 00:59:47 +02:00
  • 2a53d5200c Added list-bundles setup Morten Linderud 2021-05-17 00:47:16 +02:00
  • 62d653d0f8 Added status new format Morten Linderud 2021-05-17 00:47:02 +02:00
  • 431363f285 Added list-files new WIP for commands Morten Linderud 2021-05-17 00:46:45 +02:00
  • 7a4defc0c1 Added deps Morten Linderud 2021-05-17 00:45:51 +02:00
  • 0d249b25df Added bundle cli format Morten Linderud 2021-05-17 00:45:22 +02:00
  • 955c547743 Added more fidelity to the logging methods Morten Linderud 2021-05-17 00:16:37 +02:00
  • 1b7f188e0f Added new print module Morten Linderud 2021-05-16 23:06:22 +02:00
  • 10ff8d2a65 man: Mention environment variables for ESP location Morten Linderud 2021-05-30 14:34:21 +02:00
  • ba6dfc183e sbctl/bundle: Do not default to ESP for fetching kernel and initramfs Morten Linderud 2021-05-30 14:15:02 +02:00
  • a4f56b7127 Merge commit 'refs/pull/72/head' of github.com:Foxboron/sbctl Morten Linderud 2021-05-30 14:12:25 +02:00
  • db8bbe2826 Add SYSTEMD_ESP_PATH and ESP_PATH environment variables support igo95862 2021-05-30 14:55:04 +03:00
  • cca2a12a7c Improved GetEsp function. igo95862 2021-05-30 14:38:22 +03:00
  • d7e4f3b603 Merge commit 'refs/pull/66/head' of github.com:Foxboron/sbctl Morten Linderud 2021-05-22 18:22:49 +02:00
  • 35e68e55cc Merge commit 'refs/pull/68/head' of github.com:Foxboron/sbctl Morten Linderud 2021-05-22 18:22:39 +02:00
  • b9eafb6a88 Merge commit 'refs/pull/70/head' of github.com:Foxboron/sbctl Morten Linderud 2021-05-22 18:22:30 +02:00
  • bca692f1e1 Updated readme for libera Morten Linderud 2021-05-21 15:32:45 +02:00
  • 0ba4f65dac Tweak unconvincing working Hugo Osvaldo Barrera 2021-05-21 10:20:13 +02:00
  • 9efc268827 Typo Hugo Barrera 2021-05-21 10:18:58 +02:00
  • 7839c5f47b Update docs/sbctl.8.txt Hugo Barrera 2021-05-21 10:17:55 +02:00
  • 7b654ac28c Typos Hugo Osvaldo Barrera 2021-05-21 01:44:03 +02:00
  • fd444c444c Refine docs based on feedback Hugo Osvaldo Barrera 2021-05-21 01:20:42 +02:00
  • 74b581384f Extend the documentation a bit Hugo Osvaldo Barrera 2021-05-21 00:07:24 +02:00
  • 09181324a0 Update man entry for default cmdline Hugo Barrera 2021-05-18 02:04:40 +00:00
  • d3feae2791 Remove ioutil igo95862 2021-05-16 21:14:42 +03:00
  • f53632ebd2 util: Expand array in print generator Morten Linderud 2021-05-13 12:34:19 +02:00
  • 35ebd7bba9 bundles: Handle command not found errors Morten Linderud 2021-05-13 12:33:58 +02:00
  • e63eb3d6b1 Merge commit 'refs/pull/61/head' of github.com:Foxboron/sbctl Morten Linderud 2021-05-09 16:49:18 +02:00
  • 44d597c74e Merge commit 'refs/pull/54/head' of github.com:Foxboron/sbctl Morten Linderud 2021-05-09 16:43:50 +02:00
  • e55ef14bf4 Redirect objcopy stderr to parent stderr igo95862 2021-05-05 11:15:50 +03:00
  • 02885c41db Use argument list for objcopy instead of split by whitespace igo95862 2021-05-04 22:25:54 +03:00
  • 7d6d2c76ab Directly pass arguments to subprocesses instead of args spliting igo95862 2021-05-04 22:16:57 +03:00
  • 9060461b35 sbctl: Inverted bool broke key enrollment Morten Linderud 2021-04-25 12:58:44 +02:00
  • 3fcd3b0e84 Updated srcinfo Morten Linderud 2021-04-24 17:45:17 +02:00
  • a33d0b40d8 Fixed sbctl hooks in PKGBUILD Morten Linderud 2021-04-24 17:41:15 +02:00
  • 63876f01d5 Use x/sys/unix for ioctl instead of rolling our own. Érico Nogueira 2021-04-14 18:17:19 -03:00
  • 59ec7a813f sbctl: IsImmutable should return false if the file does not exist Morten Linderud 2021-04-18 03:29:29 +02:00
  • a6445c4a2b sbctl: Create valid x509 certs for the kernel Morten Linderud 2021-04-16 22:13:55 +02:00
  • 4df69d6935 Merge branch 'morten/fix-hook' Morten Linderud 2021-04-14 21:51:41 +02:00
  • ad1dc957cb Merge branch 'morten/cmdline' Morten Linderud 2021-04-14 21:51:33 +02:00
  • 8405a2a407 Merge branch 'morten/fix-permission' Morten Linderud 2021-04-14 21:51:23 +02:00
  • 9100e231ea Merge branch 'morten/immutable' Morten Linderud 2021-04-14 21:51:10 +02:00
  • c50750ee7a sbctl.hook: Renamed to be ordered last, added more paths Morten Linderud 2021-04-14 21:36:08 +02:00
  • 36a1849942 sbctl/bundle: Change default cmdline to /etc/kernel/cmdline Morten Linderud 2021-04-05 16:23:14 +02:00
  • d69b59bb01 sbctl: Check for persmission denied. Use errors package Morten Linderud 2021-04-03 13:07:18 +02:00
  • 99efd2a5e3 keys: sbkeysync can have "Permissiond denide" errors Morten Linderud 2021-04-03 12:30:52 +02:00
  • 2572b38a8e sbctl: Check for immutable files before sbkeysync Morten Linderud 2021-04-03 12:27:44 +02:00
  • a426eeb0c6 cmd/sbctl: Typo in err Morten Linderud 2021-03-12 23:01:15 +01:00
  • 17fc0e5ff4 cmd/sbctl: proper exit if we fail creating bundle Morten Linderud 2021-03-06 19:53:13 +01:00
  • 7cdab1f018 sbctl: Microcode won't always be passed Morten Linderud 2021-03-06 19:49:51 +01:00
  • e40683e344 sbctl: Added missing format argument Morten Linderud 2021-03-06 19:49:35 +01:00
  • 611f2818c6 Makefile: Fixup make before release Morten Linderud 2021-02-28 14:08:36 +01:00
  • a0cd90a0b0 sbctl: Fixed up some missing error handling Morten Linderud 2021-02-28 14:06:58 +01:00
  • 79d986f987 Merge branch 'pr-31' Morten Linderud 2021-02-16 19:54:43 +01:00
  • f94f185652 Use ReadOrCreateFile in ReadBundleDatabase. Érico Rolim 2021-01-11 00:47:03 -03:00
  • cc55d6e443 Add ReadOrCreateFile utility function. Érico Rolim 2021-01-11 00:41:42 -03:00
  • 92bb91172d Improve error propagation and permission checking. Érico Rolim 2020-10-28 20:00:50 -03:00
  • 0a7c6e8bc5 Fix potential seg fault in ChecksumFile. Érico Rolim 2021-01-11 00:38:05 -03:00
  • 017b0c1dea Use err1 instead of err as a logger. Érico Rolim 2021-01-11 00:33:42 -03:00
  • f92102ae2a Moved from goefi to go-uefi Morten Linderud 2021-01-05 22:33:17 +01:00
  • 9e9c3a1620 Add support channel Morten Linderud 2020-12-30 12:19:17 +01:00
  • af64bdc245 Document the generate option of sign-all physkets 2020-11-10 15:32:18 +00:00
  • dfa6fb1baa Merge branch 'pr-36' Morten Linderud 2020-11-08 19:09:41 +01:00
  • b09199482f README: Fix build badge Morten Linderud 2020-11-08 19:09:12 +01:00
  • 464b3c2f71 Fix lint step in CI. Érico Rolim 2020-11-07 01:23:51 -03:00
  • fe1f0365f9 Merge branch 'pr-33' Morten Linderud 2020-11-08 19:01:38 +01:00
  • 3825a49373 Add CI via GitHub actions. Érico Rolim 2020-11-07 01:23:51 -03:00
  • d38b9fb122 Merge branch 'pr-35' Morten Linderud 2020-11-08 13:35:20 +01:00
  • 8264a3e370 add staticcheck linter Dan Bond 2020-11-08 10:20:56 +00:00
  • 995f61fd22 Merge branch 'pr-29' Morten Linderud 2020-10-27 20:13:31 +01:00
  • a7fd415445 main: Pass flag to all GenerateAllBundles calls If bundles are generated from within signAllCmd(), it's safe to assume that whoever called it wants the bundles to be signed too, so we pass true. Patrick Wicki 2020-10-27 18:31:19 +01:00
  • 2d6238b6d9 sbctl: Implement optional signing via the -s flag Patrick Wicki 2020-10-27 18:29:31 +01:00
  • fda4f2c1ef Use // for comments instead of # Modelmat 2020-09-19 20:33:46 +10:00
  • bff94d69c6 Replace $ prompt with # prompt for root commands Modelmat 2020-09-19 20:32:59 +10:00
  • c7940e6000 Ensure we always turn off colors when sbctl exits Morten Linderud 2020-08-22 12:37:55 +02:00
  • dd98165fa1 Split out GetColor declerations Morten Linderud 2020-08-22 12:37:34 +02:00
  • 2b09a8e645 Change PrintGenerateError signature. Érico Rolim 2020-07-13 22:19:38 -03:00
  • 70976394cd Add more error propagation to bundle generation. Érico Rolim 2020-07-13 18:47:28 -03:00
  • ed103661f0 Create PrintGenerateError and use it where possible. Érico Rolim 2020-07-13 18:22:44 -03:00
  • e3d74411cd Propagate errors through SignFile, GenerateBundle. Érico Rolim 2020-07-10 00:38:43 -03:00
  • 5adc3cbafb Merge pull request #21 from ericonr/remove Morten Linderud 2020-07-25 18:11:00 +02:00
  • 42bbea1822 main: verify if files exist before removing them. Érico Rolim 2020-07-23 16:37:14 -03:00
  • 9a16a81e5f Merge pull request #11 from ericonr/doc Morten Linderud 2020-07-13 21:39:05 +02:00
  • 4aa03109c4 Mention conversion into absolute paths in manual. Érico Rolim 2020-07-13 16:28:37 -03:00
  • 6c460938aa Merge pull request #15 from ericonr/fixes Morten Linderud 2020-07-10 12:54:47 +02:00
  • 2ce0f00f1c sbctl: Warn user about file not existing. Érico Rolim 2020-07-09 23:47:50 -03:00
  • 7992e9feec keys: use the correct verification in SignFile. Érico Rolim 2020-07-09 23:33:03 -03:00
  • 82a0bcaf88 sbctl: forgot ChecksumFile Morten Linderud 2020-07-10 00:52:58 +02:00
  • d397102738 sbctl: Ensure we check if original file exists before signing Morten Linderud 2020-07-09 16:19:05 +02:00
  • 10a1bcc7cd sbctl: Ensure we store checksum whenever files are signed Morten Linderud 2020-07-09 16:18:53 +02:00
  • d03440ae4c sbctl: Add original file checksums so we know when they changed Morten Linderud 2020-07-09 16:07:53 +02:00
  • d95ff9a2fd sbctl: Remove bundle code duplication Morten Linderud 2020-07-09 15:56:38 +02:00
  • 39f77294a8 sbctl: Ensure we run filepath.Abs on all paths Morten Linderud 2020-07-09 15:56:11 +02:00
  • be707e7761 Update README with current command output. Érico Rolim 2020-06-24 03:10:29 -03:00
  • 22ed72c11a Add list-files command to manual. Érico Rolim 2020-06-24 03:10:03 -03:00
  • 7de0523a6a Merge pull request #9 from ericonr/move Morten Linderud 2020-06-21 22:08:31 +02:00