werty1st / nitrokey-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPG Demo Project for Windows and Linux

Linux Version: linux.md

Windows Version: win.md

Setup Card (Linux only Version)

sudo apt-get install libccid scdaemon gpg python3-usb

work with card:

gpg --card-status | grep Version
gpg --card-edit

Remember: Setting User and Reset Pin only works after installing a Key

Admin PIN default: 12345678
User PIN default : 123456

Create new Key https://www.nitrokey.com/de/documentation/openpgp-create-backup

gpg/card> generate

Bash-PoC

echo "das ist geheim" | gpg --encrypt --armor --recipient test@web.de > file.enc
gpg --decrypt < file.enc

## (optional add pin)
# gpg --passphrase 654321 --decrypt < file.enc

About


Languages

Language:Python 100.0%