sign.conf(8)
π sign.conf(8) π
the system manager's manual page β¨ ok so you found sign.conf(8) in the System Manager's Manual section and bestie, you're about to have a great time. this is the config file for the whole sign situation. let's go π
β¨ NAME β¨
sign.conf β the sign and signd configuration file, aka the one file running the whole show π
π¦ SYNOPSIS π¦
/etc/sign.conf
like. that's it. that's the path. iconic.
πΈ DESCRIPTION πΈ
This file holds the configuration for both the sign program and the signd daemon. one file, two besties, no drama π«Ά
Every single line in the file has this format:
key: value [value...]
Empty lines are ignored. Lines starting with # are ignored too β those are your little comment vibes, go off.
Here are all the keys that get recognized, no gatekeeping:
server: hostnameβ Forward all requests with unknown signing users to the specified server. like, "idk her, ask this server" πββοΈport: portβ Use the specified port number instead of the default port5167. don't be weird about it,5167is the default.proto: unprotected|sslβ Set the protection protocol to secure the connection to the sign server. The default is to use an unprotected connection. (yes, unprotected is the default. yes, that's a choice. π)user: userβ Set a default user to use for signing.hash: hashβ Set a default hash to use for signing. The default hash is SHA1 for compatibility reasons. (compatibility reasons. we don't ask questions. π)allow: ipallow: subnetallow: hostnameβ Allow only connections from the specified ip addresses, subnets expressed in CIDR notation, and/or hostnames. Note that hostnames are resolved using reverse DNS lookups, so there must be reverse entries in the DNS server, and it should be secured against DNS poisoning attacks. All requests are rejected if the allow list is empty. so if you leave it blank, nobody gets in. not even you. not even your mom. periodt.gpg: path_to_gpgβ Select the gpg program to use instead of"/usr/bin/gpg".phrases: phrases_directoryβ Set the directory containing gpg phrases for every user. A phrase file is fed into gpg with the"--passphrase-fd=0"option.map: [hash:]from_signuser to_signuserβ Modify the signuser. This can be used to map hashes and users to unambiguous key ids.allowuser: username|uidβ Grant the user the right to sign. Thesignbinary must be installed as suid-root binary for this to work. Multiple users can be specified by using multipleallowuserlines in the configuration.allow-unprivileged-ports: true|falseβ Allowsigndto accept connections from source ports > 1024. Defaults tofalse.use-unprivileged-ports: true|falseβ Use a source port > 1024 when connecting to thesigndserver. Defaults tofalse.logfile: filenameβ Log requests to the specified filename instead of stdout.gnupghome: dirnameβ Configures the directory for gpg to use by setting theGNUPGHOMEenvironment variable.use-agent: true|falseβ Makesignddirectly talk to thegpg-agentfor signing instead of calling gpg. If the gpg command does not implement the--files-are-digestparameter, this option always falls back totrue. (it said what it said and it meant it π)keycache: dirnameβ Cache the result of finding the signing key for a username. This is only done if thegpg-agentis used for signing. The cache is automatically invalidated if there is a change in the gpg keyring. self-cleaning queen πagentsocket: socketpath [socketpath...]β Specify the location of the gpg agent socket. It is possible to specify more than one location, as gpg uses different socket directories depending on if the user is logged in or not. As a fallback,signdwill call"gpgconf --list-dirs"to find the current location of the agent socket.ssl_certfile: pathssl_keyfile: pathβ Specify the certificate and the corresponding private key for ssl client certification.ssl_verifyfile: pathssl_verifydir: dirpathβ Specify the ca locations used to verify the certificate of the server. If neither a verifydir nor a verifyfile is configured, the default ca locations are used.proxyport: portproxyproto: unprotected|sslproxyssl_certfile: pathproxyssl_keyfile: pathproxyssl_verifyfile: pathproxyssl_verifydir: dirpathβ Configure the setting for incoming requests. The corresponding value for outgoing requests is used if a key has not been set. The keyfile/certfile specifies the server certificate, the verifydir/verifyfile configures the ca locations to verify the client certificate.
π¨ heads up bestie: incoming requests with no client certificate are rejected. no cert, no entry, sorry not sorry.
allow_subject: x509_subjectallow_subject: /x509_subject_regex/β Allow only requests that have a verified client certificate with a subject that matches one of the specified values. The X509 subject is converted to a string as specified in RFC-2253 before doing a match. If theallow_subjectlist is empty, no check is done on the X509 subject but the certificate is still verified. verified either way, so don't get cute π
π FILES π
/etc/sign.conf
π SEE ALSO π
go read those too, they're the whole point iykyk π
and that's the whole page, bestie!! πΈ this one's from Apr 2007, mwah, ily, go configure something slay β¨π π¦
π¦ where this page comes from
- fedora 43: obs-signd 2.8.4-5.fc43 Β· GPL-2.0-only
- fedora 44: obs-signd 2.8.4-6.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms