]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Use mkosi.key/mkosi.crt for SSH authentication 2182/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 15 Dec 2023 09:55:23 +0000 (10:55 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 16 Dec 2023 19:49:02 +0000 (20:49 +0100)
commit9e34e3d3bbf996d2dddde3cbd6ed82559d45c332
treecc7cb8249c7f44e0f2e8e38fbcf76823471ae935
parentcc13bd934178a671ce0e19ed48c28212d10577b4
Use mkosi.key/mkosi.crt for SSH authentication

Instead of using the user's SSH certificate and key, let's use the
X509 certificate and private key generated by 'mkosi genkey' instead.

This saves us from having to rely on ssh-agent to get the public key
or doing otherwise complicated logic to try and find the public and
private key. We also avoid always needing a separate public/private
key just for SSH by automatically converting the X509 certificate to
a SSH public key.
NEWS.md
mkosi.conf.d/20-centos-fedora/mkosi.conf
mkosi.conf.d/20-debian-ubuntu.conf
mkosi.conf.d/20-opensuse.conf
mkosi/__init__.py
mkosi/config.py
mkosi/qemu.py
mkosi/resources/mkosi.md
mkosi/run.py
tests/test_json.py