Skip to content

(mirror) a tool to proxy ssh, gpg, and fido2/ctap operations on qubes os for your onlykey, using systemd to provide per-client isolation for connections' sockets and configuration

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

xyhhx/qubes-split-onlykey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qubes Onlykey Proxy

Hippocratic License HL3-FULL


Installation

  • Create the template

    • Create a template based on Fedora that has all the Onlykey tooling installed
      • You can use pipx to install onlykey and onlykey-agent from the template
    • Install ./src/vm/onlykey.SshAgent to /etc/qubes-rpc/onlykey.SshAgent, and make it executable
    • Install ./systemd/onlykey-agent.socket and ./systemd/onlykey-agent.service to /etc/systemd/user/
    • Install the udev rules
  • Create the sys VM

    • Create an AppVM based on that template
    • As a user, run systemctl --user enable onlykey-agent.socket and systemctl --user start onlykey-agent.socket
    • You will also need to enable the onlykey-agent.socket service from the Qube's settings
  • Install the RPC policy in dom0

    • Install the policy in ./src/dom0/49-onlykey.policy to /etc/qubes/policy.d/49-onlykey.policy

Usage

  • Plug in your Onlykey

  • Enter your PIN

  • Start sys-onlykey

  • Pass your Onlykey from your USB qube to sys-onlykey

  • In your development (client) qube, start the proxy:

    ok-ssh-proxy # QUBES_ONLYKEY_DOMAIN must be set

Adding identities

In sys-onlykey, add identities like so:

onlykey-agent "${identity}" >> "${XDG_CONFIG_DIR}/onlykey/ssh-agent.conf"

About

(mirror) a tool to proxy ssh, gpg, and fido2/ctap operations on qubes os for your onlykey, using systemd to provide per-client isolation for connections' sockets and configuration

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published