Foxboron / sbctl

:computer: :lock: :key: Secure Boot key manager
MIT License
1.35k stars 71 forks source link

Generated bundles and signed files are not added to database. #251

Closed IPlayZed closed 8 months ago

IPlayZed commented 8 months ago

I generated bundles and signed them (and other files as well), however they are not listed by list-bundles or list-files and they are neither signed by sign-all or generated by generate-bundles.

verify does list them in the EFI partition, among everything else and when signing them explicitly, the files are signed.

When listing the database via cat, it is an empty file:

❯ cat /usr/share/secureboot/files.db
───────┬────────────────────────────────────────────────
       │ File: /usr/share/secureboot/files.db   <EMPTY>
───────┴────────────────────────────────────────────────

Same is the case for bundles.db.

Foxboron commented 8 months ago

You forgot --save probably?

IPlayZed commented 8 months ago

That must be the case, thank you.