Your message dated Sun, 04 May 2025 18:25:34 +0000
with message-id <e1ube1u-00gv1c...@fasolo.debian.org>
and subject line Bug#1104522: fixed in pkcs11-proxy 0.4.1-3
has caused the Debian Bug report #1104522,
regarding pkcs11-daemon: Please provide an example systemd service (and USAGE 
documentation)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1104522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104522
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pkcs11-daemon
Version: 0.4.1-2
Severity: normal

Dear Thorsten,

as-is, the pkcs11-daemon package is obscure to use, as the USAGE file is
not made available in …/docs/ or …/examples. 

A sample systemd service would be nice, using an
/etc/default/pkcs11-daemon file for example.

In my case, I've restorted to manually creating the following service:

/etc/systemd/system/pkcs11-daemon.service
  [Unit]
  Description=PKCS#11 daemon
  After=network-online.target
  
  [Service]
  Type=simple
  Environment=PKCS11_DAEMON_SOCKET="tls://[::]:2345"
  Environment=PKCS11_PROXY_TLS_PSK_FILE="/var/lib/pkcs11-daemon/softhsm2.psk"
  ExecStart=/usr/bin/pkcs11-daemon /usr/lib/softhsm/libsofthsm2.so
  Restart=on-failure
  
  [Install]
  WantedBy=multi-user.targe

I've create the psk file with:

  mkdir -p /var/lib/pkcs11-daemon
  (echo -n "softhsm2:" ; head -c 4096 /dev/urandom | sha256sum | cut -b1-32) > 
/var/lib/pkcs11-daemon/softhsm2.psk
  chmod 0600 /var/lib/pkcs11-daemon/softhsm2.psk

It's just a simple throw at getting this up-and-running though.

Would you be welcoming a patch? Would you also consider putting this on
Salsa (there's no documented Vcs).

Best,
OdyX

--- End Message ---
--- Begin Message ---
Source: pkcs11-proxy
Source-Version: 0.4.1-3
Done: Thorsten Alteholz <deb...@alteholz.de>

We believe that the bug you reported is fixed in the latest version of
pkcs11-proxy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1104...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <deb...@alteholz.de> (supplier of updated pkcs11-proxy 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 04 May 2025 19:02:03 +0200
Source: pkcs11-proxy
Architecture: source
Version: 0.4.1-3
Distribution: unstable
Urgency: medium
Maintainer: Thorsten Alteholz <deb...@alteholz.de>
Changed-By: Thorsten Alteholz <deb...@alteholz.de>
Closes: 1104522
Changes:
 pkcs11-proxy (0.4.1-3) unstable; urgency=medium
 .
   * add service file (Closes: #1104522)
     Thanks a lot to Didier Raboud for the suggestion.
   * if not present, create psk file in /var/lib/pkcs11-daemon
   * debian/control: bump standard to 4.7.2 (no changes)
   * debian/control: add VCS URLs
Checksums-Sha1:
 16ca0b6f9dfa2a3e09ebc3622f871d7e89904e9d 2106 pkcs11-proxy_0.4.1-3.dsc
 d278baaf650da8b8c4b35bc2875dce799dc7c040 67598 pkcs11-proxy_0.4.1.orig.tar.gz
 0271246e2b4d40ed6b2a80bc6d87c735403a9832 4524 
pkcs11-proxy_0.4.1-3.debian.tar.xz
 9e3c9524f1928dd68052eb2bf3beecf034f8c1c4 7737 
pkcs11-proxy_0.4.1-3_amd64.buildinfo
Checksums-Sha256:
 a4efac76857bfa4c0fc4c2801c0db851d396ff1e771ac552ac2580dad10de1b2 2106 
pkcs11-proxy_0.4.1-3.dsc
 2fc6c9b3b5558f408187ea7828536dc47b1177405108e5cc032e8d85c4504cae 67598 
pkcs11-proxy_0.4.1.orig.tar.gz
 0bed62c4df47fa4f6d56c2e34339b10aa6234abf13c7e556c92a53234ee8a084 4524 
pkcs11-proxy_0.4.1-3.debian.tar.xz
 b5d015424d6f132c66e1093be8a8752629822dbe06c3cfc6c78dacfa6c120879 7737 
pkcs11-proxy_0.4.1-3_amd64.buildinfo
Files:
 ac09787f41a5dd0a83222f2a4a36abd6 2106 net optional pkcs11-proxy_0.4.1-3.dsc
 7a604f4b0247b4eb69214a6d5d9c59e7 67598 net optional 
pkcs11-proxy_0.4.1.orig.tar.gz
 8f5ecdf0aee20e90782a79ed72aba761 4524 net optional 
pkcs11-proxy_0.4.1-3.debian.tar.xz
 2a0556022a91f247906b48042c143309 7737 net optional 
pkcs11-proxy_0.4.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmgXrKRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR8Q5D/9YHCCDUptwSRmpB6JwmJn+V37ItpNT
keM58kT7cnJOomtmWOJRlu/ppvWtKkCdI1GWBhKTj4MXPIrJylZquUyO9OPUwDCu
KY5nT2LIjjnhiAdN2oAPjJA1H6LfjICNmsgZpVjIBtnUCtsZX3mdXdQCCL/agj9Y
FnXxlfWZfSvXfSbuLoVssgkUylJYNprDZN+S/eCPjuArS96ISoMJ3C96/jQmYOpN
TJKH2k1Ss36/2u+7/XbSWnleGDmILI5J1iy54Y5sV7mcMLF+E0FEla5juAhaQ1NK
tmc9DESzsF5U6Fei5ylTJUIwtJTSQ62XfKoN8nBqF8GhBipae/XbS+lgMmei7ft5
ZyeQ5oxO2KldjT5eb6ymXSDaf5Yc1Ng8C+/+QUlsokwqo1GgXCP0snsJ3TLNAGWO
Xji521ruCFqtWE3DLQLUOVrC7kDyOteX4vtAUrlYC0CGOEBedhFML9Nll92Q2Ys0
UMMhWE2eHo6BD+MH2xOUlm/1OPjO3NXJNAUxngMU4qcrfSBITxFqjfSCn9VNz3UH
/8NvoQR9u/wp4TazfZfQn99nlFJuHoh3LjMb02S/itP740alFm+ThsB1ZV93+MVv
b31cxMbO6+yJU2aBOsAotZ0LLnDn35Da7PnMw6xzYlfMuUixNdeGltwTnwbB4hWd
Zm3vZ6Xel36Wtw==
=q7al
-----END PGP SIGNATURE-----

Attachment: pgpsurP5B3qZn.pgp
Description: PGP signature


--- End Message ---

Reply via email to