keyserver/keyserver.conf.example

19 lines
787 B
Text
Raw Permalink Normal View History

2024-11-11 01:54:24 -08:00
{
hypnotoad => {
listen => [
'http://127.0.0.1:8080'
2024-11-11 01:54:24 -08:00
],
pid_file => './jjakkekeyserver.pid',
workers => 1 # you're unlikely to need more
2024-11-11 01:54:24 -08:00
},
pguser => 'jjakkekeyserver',
pgpass => 'password',
pghost => 'localhost:5432',
pgdb => 'jjakkekeyserverdb',
serverh1header => 'Welcome to jjakke\'s keyserver!',
servermessage => '', # Message banner (like an alert or something) for http access (blank for no message banner)
2024-11-11 01:54:24 -08:00
pksadd => 1, # 1/0 for allowing/disallowing public key upload (eg with `gpg --send-keys`)
secret_add_ok => 1, # 1/0 for allowing/disallowing public key upload (secretly)
secret_add => '/secret/add', # route for frens and family (keep it loaded; NOT '' or '/' as these will collide)
};