Oddbean new post about | logout
 https://image.nostr.build/9b8232c79ffa7f8f2e545cf1b5b064b6c4a3eeda51d966819579a45c263e2f5d.jpg

### Smart Cards in Linux using Brave

1. 1st follow steps in this 👉 [Firefox setup post](nostr:nevent1qqswuue725yg775x8uhl9utqc2s7nhllk7ea963t7hjx4jhk28pdq9spz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqndled79mkuzf8uu06uvy8spnuy0h7m7ch0d2sytv9zep04c6954qvzqqqqqqyh92chd).  

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](nostr:npub1fkluklzamwpyn7w8awxzrcqe7z8mldlvthk4gz9kz3vsh6udz62s9qj48l) | 🗣 [Discuss](nostr:nevent1qqsyle9lxzgt5zvd84yhvcdgm7mtthuva2fn076nhzd6qaxd4jyudzqzypxmljmuthdcyj0ecl4ccg0qr8cgl0aha3w764qgkc29jzlt35tf2qcyqqqqq2q4hy6hy)

#SmartCards #Linux #BraveBrowser #Chrome #FreeYourTech