What is Nostr?
Freedom Tech
npub1fkl…j48l
2024-09-24 17:02:09

Freedom Tech on Nostr: ...



### Smart Cards in Linux using Brave

1. 1st follow steps in this 👉 [Firefox setup post](


### Configure Smart Cards on Linux & Firefox

1. Install the Smart Card programs and/or libraries

```
sudo apt-get install libpcsclite1 pcscd pcsc-tools coolkey opensc
```

2. Download your PKI Certificatees

You will have to get these from someone, like your employer

3. Import the PKI Certificates into Firefox
- Go to three bars menu in Firefox (upper right)

- Preferences
-->Privacy & Security
-->Certificates
-->View Certificates
-->Import

- Browse to folder containing your certificates and select the .der.p7b file that has all the other certificates linked in it.

4. Install Smart Card Reader module into Firefox

- Settings
-->Privacy & Security
-->Certificates
-->Security Devices
-->Load

- In "Module Name" Type in a name that you want, such as "coolkey Smart Module" or "opensc Smart Module"

- For `opensc` click Browse and browse to and select:
/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so

- ~~For coolkey, click Browse and browse to and select: ~~
(currently not working)

```
/usr/lib/pkcs11/libcoolkeypk11.so
```

⚡️ [Follow](Freedom Tech (npub1fkl…j48l)) | 🗣 [Discuss](nevent1q…y6hy)

#SmartCards #Linux #Firefox #FreeYourTech
).

2. Make sure NSS Tools are installed

```
sudo apt-get install libnss3-tools
```

3. Add Smart Card Module

- Make sure to close Chrome & you are in home directory before next command(s)

- To use opensc module type: (this one gives more certificate options)

```
modutil -dbdir sql:.pki/nssdb/ -add "opensc Smart Module" -libfile /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so

```

- ~~For coolkey module type:~~
(currently not working)

```
modutil -dbdir sql:.pki/nssdb/ -add "coolkey Smart Module" -libfile /usr/lib/pkcs11/libcoolkeypk11.so
```

4. Add PKI certificates
-Go to the dot menu and:
- Settings
- ->Privacy and security
- ->More
- ->Manage Certificates
- ->Import

- Browse to folder with PKI certificates and select the chain.pem file

5. To list installed modules on Brave

```
modutil -dbdir sql:.pki/nssdb/ -list

```

6. To delete a module from Brave, use module name in step 5.
- if your module name is "Smart Module"

```
modutil -dbdir sql:.pki/nssdb/ -delete "Smart Module"
```

⚡️ [Follow](Freedom Tech (npub1fkl…j48l)) | 🗣 [Discuss](
{"name":"FreedomTechChat","about":"Freedom Tech Chat","picture":" "}
)

#SmartCards #Linux #BraveBrowser #Chrome #FreeYourTech
Author Public Key
npub1fkluklzamwpyn7w8awxzrcqe7z8mldlvthk4gz9kz3vsh6udz62s9qj48l