0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
35 lines
822 B
Desktop File
35 lines
822 B
Desktop File
[Unit]
|
|
Description=Seamless ssh-agent for YubiKeys
|
|
Documentation=https://filippo.io/yubikey-agent
|
|
|
|
[Service]
|
|
ExecStart=yubikey-agent -l %t/yubikey-agent/yubikey-agent.sock
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
ProtectSystem=strict
|
|
ProtectKernelLogs=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectControlGroups=yes
|
|
ProtectClock=yes
|
|
ProtectHostname=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
PrivateUsers=yes
|
|
IPAddressDeny=any
|
|
RestrictAddressFamilies=AF_UNIX
|
|
RestrictNamespaces=yes
|
|
RestrictRealtime=yes
|
|
RestrictSUIDSGID=yes
|
|
LockPersonality=yes
|
|
CapabilityBoundingSet=
|
|
SystemCallFilter=@system-service
|
|
SystemCallFilter=~@privileged @resources
|
|
SystemCallErrorNumber=EPERM
|
|
SystemCallArchitectures=native
|
|
NoNewPrivileges=yes
|
|
KeyringMode=private
|
|
UMask=0177
|
|
RuntimeDirectory=yubikey-agent
|
|
|
|
[Install]
|
|
WantedBy=default.target
|