How to sign and encrypt email with The GNU Privacy Guard (GPG).

The GNU Privacy Guard, or just GnuPG or GPG, is a complete and free implementation of the OpenPGP standard. GPG can be used to sign and encrypt email messages and other data and communication.

The OpenPGP lock and a diploma indicates, that this message has been encrypted and signed by the sender. The GNU Privacy Guard keys was used with Thunderbird Mail to protect privacy.

If you implement GPG for use with email, then you can digitally sign your message, so your recipient will know, that the message has in fact been sent by you. The recipient will also know, that your messsage has not been modified. If you have the public key of the recipient, then you can encrypt and sign your message. You and your recipient can now safely assume, that your message has been protected against surveillance systems and other kinds of breach of privacy.

Create your new signing and encryption key.

The following GPG command will create a new key, that will be based on your selections from the menu. You will want RSA keys for signing and encryption. You might not want the key to expire. You will want maximum RSA key strength. Enter your name as it appears, when you send email. Enter your email address. Enter a passphrase. The passphrase should not just be a single password, but rather a phrase or complex password.

$ gpg --full-generate-key

You have now created a GPG key, that can be used for signing and encrypting data and communication. It has been inserted into the GPG key ring on your computer. If you did not have a key ring, then one has been created for you in a hidden directory in your home directory. You might want to ensure, that it is backup up.

$ ls .gnupg

The following command lists the key, and other keys, that exist in your key ring. The key will have a key for signing, a user identification and a subkey for encryption. The email address is used for identifying a key, if you later should want to make changes.

$ gpg --list-keys

The following command lists other options, that will help you find out, what you can do with the GPG command line tool.

$ gpg --help

Import your secret key into your email client.

The final step is to import your new key into your own email client, such as Thunderbird Mail. This key, which is your secret key and not the shared public key, will then be used by your email client to sign your messages. If you also have the public key of your recipient, you can also encrypt your messages.

The following example will export the secret key, that is identified by the email address , to a file private.gpg, that can be imported to your email client.

$ gpg --output private.gpg --export-secret-key 

If your email client is Thunderbird Mail, you can import it by adding your key as an OpenPGP key from the encryption section in your account settings. You will need to enter the passphrase, that you entered during the creation of the key.

Note: Thunderbird Mail has its own PGP built-in system, that replaces the former EnigMail add-on, and stores its keys in its own key ring, that is different from the main GPG key ring. Thunderbird can also create a key for you, but in this example, you will create your own key with GPG and import it.

Export your public key to your recipients.

You can now generate a public key from your private key. If you share the puplic key with your recipient, then your recipient can import it and it will be used for validating your signatures and encrypting messages to you. I wrote a guide about this in How to import a GNU Privacy Guard (GPG) public key into email client.

The following example will export a public key from the key, that is identified by the email address . The public key will be written in the default GPG format to the file example.gpg.

$ gpg --output example.gpg --export 

The following example will export a public key from the key, that is identified by the email address . The public key will be written in armored text format to the file example.pub. This format is can be used for copy and paste operations.

$ gpg --output example.pub --armor --export 

The file can now be shared with your recipient, who can import it to an email client, such as Thunderbird Mail, that support signing and encryption with GPG. You can safely share your public key via email or other medium. The public key can only be used to encrypt messages to you. The message can only be decrypted by the one, who has the private key.

Sign and encrypt your message.

That’s all there is to it. You can now sign and encrypt messages with GNU Privacy Guard.

If your email client is Thunderbird Mail, then you will compose a new message as normal. When you are ready to send your message, you will open the drop down security menu and enable encryption. This will automatically sign your message too. If you only want to sign your message, you can do so too by just enabling your digital signature. Note, that you can only encrypt the message, if you have received a public key from the recipient.

Example of a signed and encrypted email message.

The following picture is an example of a signed and encrypted message, that has been received and opened in Thunderbird Mail.

A lock and a diploma indicates, that this message has been encrypted and signed by the sender. The GNU Privacy Guard was used with Thunderbird Mail to protect privacy.

If you look in the upper right corner, you can see, that a lock indicates, that this message was encrypted, and, that a diploma indicates, that this message was signed by the sender.

Variance and downswing in poker.

You are about to start a poker challenge or move up in stakes. You have proved your skills up till now. You are confident in your game. But little do you know, that your worst nightmare is about to unfold: A downswing of what seems to be never ending suck-outs and bad beats, that will tear your confidence apart, throw your mental game to the corner and drain your hard earned bankroll.

This graph in PokerTracker shows a 1.592 USD in all-in adjusted variance from expected and a 1.364 USD card distribution downswing at PokerStars NL100 fullring cashgame. A total downswing of 2.956 USD over 31.491 hands.

A downswing is one part variance and one part card distribution. Each can be bad. The variance is measured by your poker tracker as the difference from the expected result from the point, where you were all-in. The card distribution can be measured by some poker trackers as the difference from expected times, you should hit your made hands. There is not much you can do to affect these parts. They are both a result of the shuffled cards.

How to avoid variance and downswings in poker.

If you want to avoid variance and downswings in poker, there are some elements of poker, you can look into. In general, the better a player, you can become, the higher a win rate, you will have, which will keep you more clear of the effects of bad variance and downswings.

You can, first of all, specialize in a format, that has the least variance. Such a format would be fullring games, 7max to 10max, which are very common at casinos and online poker.

You can define a stop-loss limit, that, when reached, makes you leave the tables and stop your session. You might even want to end your challenge or your shot at a higher stake and only return, when you have restored the loss at the lower stake. The stop-loss limit should match the size of loss, that you know, affect your mental game and further play badly with severe loss to follow. This is known as tilt. A stop-loss limit is typically 1 buy-in for casual players and 2 buy-ins for professional players.

You can play games, that are less aggressive, which can give you more control in the hands. These games are often the lower stakes, that attracts casual and passive players.

You can develop your hand reading skills. This can give you better control in hands and higher win rate.

You can develop a better understanding of how well certain ranges hits flops. This can develop your value betting skills, make you better at finding strong folds and give you a higher win rate.

You can study fold equity and develop a profitable bluff framework for every street. This can make you able to play more hands, deny opponents their equity and give you a higher win rate.

You can analyze samples from your hand history database by running filters and develop lines for specific hand groups and actions, that are proven profitable. This can give you a higher win rate and higher confidence during play.

You can collect all your poker skills and construct a proven solid game plan, that can give you a significant advantage over your opponents and a higher win rate. You can use this plan to restart your challenge or use it at your next shot at moving up in stakes.

However, it is unlikely, if not impossible, that you will completely avoid the effects of bad variance and downswings at some points in your poker career. It is my experience, that bad variance and downswings of 15 buy-ins does appear every 700.000 hands.

Calculate expected poker variance.

You can learn more about how your win rate has an effect on your results and risk of ruin at Primedope Poker Variance Calculator. You will need the standard deviation, which can be obtained from your poker tracker.

This simulation of variance shows, that even though this player has a good win rate of 4 bb/100, there is a significant risk of experiencing bad variance with a magnitude of 30 buy-ins over 25.000 hands.

The Diplomático rum tasting glass twin pack.

Which webshop has this beautiful Diplomático rum tasting glass twin pack for sale? They are, or were, sold seperately in a green twin pack or in a green box in combination with a bottle of Diplomático Reserva Exclusiva rum. I also asked Venezuelan Diplomático directly.

2019 Rum Diplomático tasting glass twin pack. Rediscover rum. Discover Diplomático.

On another note: The official website of Diplomático is one the most well designed, functional and streamlined websites, that I have seen. That is just amazing work from planning, design and programming.

The beautiful website of Diplomático, that claims to produce some of the best rum. The green Diplomático Reserva Exclusiva is seen in the front.