start new:
tmux
start new with session name:
tmux new -s myname
map $http_x_request_id $uuid { | |
default "${request_id}"; | |
~* "${http_x_request_id}"; | |
} | |
server { | |
listen 80; | |
server_name _; | |
proxy_set_header X-Request-ID $uuid; |
For symmetic encryption, you can use the following: | |
To encrypt: | |
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt | |
To decrypt: | |
openssl aes-256-cbc -salt -a -d -in encrypted.txt -out plaintext.txt | |
For Asymmetric encryption you must first generate your private key and extract the public key. |
There are now two ways to approach this:
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or Krypt.co.