1. SSH and GnuPG

    SSH authentication can be done using OpenPGP key. This article explain how.

    Use gpg-agent for SSH-agent service

    OpenSSH provides a command named ssh-agent. It handles user's SSH key.

    There are alternatives for ssh-agent of OpenSSH for the service, such as GNOME Keyring, Seahorse, or gpg-agent. Those alternatives do same service …

    more »
  2. GnuPG settings

    For new machine, here is my GnuPG settings.

    .gnupg/gpg.conf

    I create .gnupg/gpg.conf file with the following content.

    use-agent
    personal-digest-preferences SHA256
    cert-digest-algo SHA256
    default-preference-list SHA512 SHA384 SHA256 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
    
    default-key 0x4ca7babe
    

    Let gpg-agent manage SSH key

    I deactivate seahose-agent. Also, I …

    more »