Skip to content

Instantly share code, notes, and snippets.

View cbugk's full-sized avatar

Celil Buğra Karacan cbugk

View GitHub Profile
@cristiroma
cristiroma / safenet-5110.md
Last active August 11, 2026 08:02
Install SafeNet 5110 on Linux Mint 21.1 / Ubuntu 22.04
  1. Download the SafeNet Authentication Client 10.8 (mine was 10.8.28) from https://knowledge.digicert.com/generalinformation/INFO1982.html
  2. Download libssl1.1_1.1.1f-1ubuntu2_amd64.deb from http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
  3. Install libssl1.1 - dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
  4. Install safenetauthenticationclient_10.8.28_amd64.deb from Standard folder (with UI) - dpkg -i safenetauthenticationclient_10.8.28_amd64.deb
  5. Install opensc - apt install opensc
  6. Enable pcscd service - sudo systemctl enable pcscd; sudo systemctl start pcscd
  7. Insert token and check status - pkcs11-tool --modul /usr/lib/libeTPkcs11.so --show-info -v
Cryptoki version 2.20
@seanblanchfield
seanblanchfield / gcal_countries.py
Created July 29, 2021 14:27
Google calendar public holiday names by country
# Complete mapping of ISO 3166 2-letter country codes to descriptions used in Google calendar URLs, accurate as of 29 July 2021.
iso_to_gcal_description = {
"ad": "ad",
"ae": "ae",
"af": "af",
"ag": "ag",
"ai": "ai",
"al": "al",
"am": "am",