This might overwrite when a user is logged in.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# server = https://pakfire.ipfire.org/
# The keytab file that is being used to authenticate against the Hub
-# keytab = /etc/krb5.keytab
+keytab = /etc/krb5.keytab
# Setup logging
log = logging.getLogger("pakfire.hub")
-DEFAULT_KEYTAB = "/etc/krb5.keytab"
-
# Configure some useful defaults for all requests
tornado.httpclient.AsyncHTTPClient.configure(
None, defaults = {
self.url = url
# Store path to keytab
- self.keytab = keytab or DEFAULT_KEYTAB
+ self.keytab = keytab
# Initialise the HTTP client
self.client = tornado.httpclient.AsyncHTTPClient()