diff options
author | Micah Anderson <micah@riseup.net> | 2017-05-02 12:32:05 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2017-05-02 14:41:49 -0400 |
commit | 22c947c33a452e912859832c78bd3660b6734cc6 (patch) | |
tree | 7d0021344efc72d590ecb70ffc35cd22b0d9b288 /lib/leap_cli/config/environment.rb | |
parent | f09276a705d8cc21a117075e996f5d4797e5311d (diff) |
Add signed-by option to sources.list (Closes: #8425)
This gets us a simple apt repository privilege separation:
(a) our key can't be used to forge other repos
(b) other keys can't be used to forge our repo.
From sources.list(5):
ยท Signed-By (signed-by) is either an absolute path to a keyring
file (has to be accessible and readable for the _apt user, so ensure
everyone has read-permissions on the file) or one or more
fingerprints of keys either in the trusted.gpg keyring or in the
keyrings in the trusted.gpg.d/ directory (see apt-key
fingerprint). If the option is set, only the key(s) in this keyring
or only the keys with these fingerprints are used for the
apt-secure(8) verification of this repository. Defaults to the value
of the option with the same name if set in the previously acquired
Release file. Otherwise all keys in the trusted keyrings are
considered valid signers for this repository.
Diffstat (limited to 'lib/leap_cli/config/environment.rb')
0 files changed, 0 insertions, 0 deletions