Giter VIP home page Giter VIP logo

Comments (7)

Scrumplex avatar Scrumplex commented on August 14, 2024 1

@beroal the keys can be chmod'd to be readable only by root (as sbctl does).

This change (ea325ca) is not in the latest tag! So only people running from Git master have this.

But this can be be fixed easily like this:

# find /usr/share/secureboot/keys -type f -exec "chmod" "400" "{}" \;

from sbctl.

Shished avatar Shished commented on August 14, 2024 1

Hello. Shouldn't only .key files be set to chmod 400?
PEM certs are used for verifying files signatures and it should be allowed to be performed by user?

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

Currently I have toyed with the idea of utilizing toml for this. I have also mocked up an example config.

[keys]
keysize = 4096

[keys.PK]
backend = "hw"

[keys.KEK]
backend = "files"

[keys.db]
backend = "files"

[backend.files]
type = "directory"
path = "/usr/share/secureboot"

[backend.hw]
type = "yubikey"
cardid = "fasdfasd"

from sbctl.

beroal avatar beroal commented on August 14, 2024

Hi. Is this configuration file already used? If yes, where it resides in the file system?

/usr/share/secureboot is readable by all users of the computer and isn't encrypted. I believe that keys should be secret. I want to change this path to a more secure place.

from sbctl.

Foxboron avatar Foxboron commented on August 14, 2024

@beroal It's not been implemented yet. Using current secure boot tooling without full disk encryption is a bit useless until HSM or TPM support is implemented.

from sbctl.

beroal avatar beroal commented on August 14, 2024

Even with full disk encryption, /usr/share/secureboot is readable by all users.

from sbctl.

ericonr avatar ericonr commented on August 14, 2024

@beroal the keys can be chmod'd to be readable only by root (as sbctl does).

from sbctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.