aboutsummaryrefslogtreecommitdiff
path: root/scripts/p7s/ssh.py
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-12-05 22:09:29 +0100
committeralex <alex@pdp7.net>2026-12-06 13:51:04 +0100
commitcc4c304c3cce228b9a075e9aaf93d93cc0d6ed0b (patch)
treefff1c84aac1158881d142b7f721494914fae33d3 /scripts/p7s/ssh.py
parent6e6fc68fee5783e391d8b921ca44b90aeb67223c (diff)
Somewhat blocked by https://bugzilla.redhat.com/show_bug.cgi?id=2521543
Diffstat (limited to 'scripts/p7s/ssh.py')
-rw-r--r--scripts/p7s/ssh.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/p7s/ssh.py b/scripts/p7s/ssh.py
new file mode 100644
index 00000000..f53cad33
--- /dev/null
+++ b/scripts/p7s/ssh.py
@@ -0,0 +1,8 @@
+import pathlib
+
+from p7s import bitwarden
+
+
+def setup_ssh():
+ with bitwarden.default() as b:
+ b.get_attachment("06ba85e9172775f8f320", "e1d1a559-feaa-4834-b192-a688708bdba3", pathlib.Path.home() / ".ssh" / "id_rsa")