Skip to content

Instantly share code, notes, and snippets.

@mtigas
mtigas / onion-svc-v3-client-auth.sh
Last active Sep 27, 2022
experiments with using v3 onions with client auth (as of tor 0.3.5.X)
View onion-svc-v3-client-auth.sh
#!/bin/bash
# needs openssl 1.1+
# needs `basez` https://manpages.debian.org/testing/basez/base32hex.1.en.html
# (but something else that decodes the base64 and re-encodes the raw key bytes
# to base32 is probably fine too)
##### generate a key
openssl genpkey -algorithm x25519 -out /tmp/k1.prv.pem
@grugq
grugq / gist:03167bed45e774551155
Last active Nov 13, 2022
operational pgp - draft
View gist:03167bed45e774551155

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.