xi-keyring

simple and extensible alternative for gnome-keyring
git clone https://git.ce9e.org/xi-keyring.git

commit
a3fdef41176051ed25b34a6bb87e5bccb58a1c55
parent
9085a6b9e31a33bc132eb89352f91de1c21e10e2
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-04-05 11:06
add PKGBUILD

Diffstat

A PKGBUILD 20 ++++++++++++++++++++
A system/dbus.service 4 ++++
A system/systemd.service 13 +++++++++++++

3 files changed, 37 insertions, 0 deletions


diff --git a/PKGBUILD b/PKGBUILD

@@ -0,0 +1,20 @@
   -1     1 pkgname='xi-keyring'
   -1     2 pkgver='0.0.0'
   -1     3 pkgdesc='simple and extensible alternative for gnome-keyring'
   -1     4 arch=('all')
   -1     5 url='https://github.com/xi/xi-keyring'
   -1     6 license='MIT'
   -1     7 depends=(
   -1     8 	pinentry
   -1     9 	python3-cryptography
   -1    10 	python3-gi
   -1    11 )
   -1    12 
   -1    13 package() {
   -1    14 	git ls-files xikeyring | while read -r l; do
   -1    15 		install -Dm 644 "$l" "$pkgdir/usr/lib/python3/dist-packages/$l"
   -1    16 	done
   -1    17 	install -Dm 644 README.md "$pkgdir/usr/share/docs/xi-keyring/README.md"
   -1    18 	install -Dm 644 system/dbus.service "$pkgdir/usr/share/dbus-1/services/org.xi.keyring.service"
   -1    19 	install -Dm 644 system/systemd.service "$pkgdir/usr/lib/systemd/user/xi-keyring.service"
   -1    20 }

diff --git a/system/dbus.service b/system/dbus.service

@@ -0,0 +1,4 @@
   -1     1 [D-BUS Service]
   -1     2 Name=org.freedesktop.secrets
   -1     3 Exec=/usr/bin/python3 xikeyring
   -1     4 SystemdService=xi-keyring.service

diff --git a/system/systemd.service b/system/systemd.service

@@ -0,0 +1,13 @@
   -1     1 [Unit]
   -1     2 Description=xi keyring
   -1     3 PartOf=graphical-session.target
   -1     4 
   -1     5 [Service]
   -1     6 Type=dbus
   -1     7 BusName=org.freedesktop.secrets
   -1     8 ExecStart=/usr/bin/python3 -m xikeyring
   -1     9 MemoryDenyWriteExecute=yes
   -1    10 NoNewPrivileges=yes
   -1    11 ProtectSystem=strict
   -1    12 PrivateNetwork=yes
   -1    13 PrivateTmp=yes