Scdrand systemd service (and Gentoo ebuild)

Hi Folks,

In order to use the Nitrokey Pro’s TRNG, I implemented a stupid systemd unit file (associated to a selfmade Gentoo ebuild) that uses scdrand tool from scdtools:

https://raw.githubusercontent.com/comio/comio-overlay/master/app-crypt/scdtools/files/scdrand.service

To use, after the scdrand installation with suid or CAP_SYS_ADMIN capabilities:

  • copy the previous file into /etc/sysemd/user or /lib/systemd/user or, again, /usr/lib/systemd/user
  • systemctl --user daemon-reload
  • systemctl --user enable scdrand
  • systemctl --user start scdrand

You can find the complete ebuild package here:

Enjoy

ciao

luigi

2 Likes

Hey,

thank you very much. I did a small note here. Please let me know if you see another place where this information might be useful as well.

Kind regards
Alex

Thank you too.

It’s fine for me.

ciao

luigi

To avoid confusions: This now moved to the documentation.