Coding

Sign Git Commits with OpenPGP Key (GitHub)

In this tutorial I will describe how you can use Git to sign commits with an OpenPGP key. With this you can simply confirm that you really are the author. The commit is then displayed as signed on e.g. GitHub. I’m going to assume that you’ve already created an OpenPGP key. Otherwise you can search the net for instructions, or get what you need from my tutorial on Nitrokey Pro 2....

November 20, 2022 · 2 min · Samuel Kron
Security

Create OpenPGP Key on Nitrokey Pro 2

In this tutorial I will explain how to create an OpenPGP key with GnuPG (version 2.3.8) on the Nitrokey Pro 2. The requirement for this tutorial is that you already have the Nitrokey app installed. You can find instructions on how to do this in Gentoo here. Preperation The Nitrokey Pro 2 works in connection with GnuPG like a smart card, it is practically one. To check whether access to this is given, we enter the following as a normal user (owner Nitrokey) in the console:...

November 20, 2022 · 4 min · Samuel Kron
Security

Nitrokey Pro 2 Setup on Gentoo

In this tutorial I describe all the necessary steps for setting up the Nitrokey Pro 2 on Gentoo Linux. Install Nitrokey app The Nitrokey app is used to configure the Nitrokey. This is included in Portage (as of 11/2022) and can be easily installed. emerge -a app-crypt/nitrokey-app UDEV Rules setup In order for the Nitrokey Pro 2 to be recognized correctly, a UDEV rule must be created. Creates the file “/etc/udev/rules....

November 20, 2022 · 2 min · Samuel Kron
Security

Create SSH Tunnel

An SSH tunnel is used to enable encrypted access to network services on a server. A port is made available on the server and on the client side for this purpose. Access to the client is then as if the tunneled service were running locally. This tutorial describes all the necessary steps to set up such an SSH tunnel. I did all the steps in this tutorial on two Gentoo systems....

November 20, 2022 · 4 min · Samuel Kron
Security

SSH login with Nitrokey Pro 2 on Linux

In this tutorial, I will describe how you can get an SSH login with the Nitrokey Pro 2. The prerequisite is that you have already generated OpenPGP keys on the Nitrokey Pro 2. I set it up on a desktop / server with Gentoo Linux. In principle, the whole thing should work with any distribution. Voraussetzungen Nitrokey Pro 2 setup OpenPGP Key on Nitrokey Pro 2 GnuPG Version => 2.2.15 Setup OpenPGP key as SSH key If the OpenPGP keys are set up on the Nitrokey Pro 2, you have to add the key to SSH in the console (user / client)....

November 20, 2022 · 3 min · Samuel Kron