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. Emacs settings

    Here is my .emacs.

      ;; custom-set-variables was added by Custom.
      ;; If you edit it by hand, you could mess it up, so be careful.
      ;; Your init file should contain only one such instance.
      ;; If there is more than one, they won't work right.
     '(case-fold-search t)
     '(current-language-environment "Japanese")
     '(default-input-method "japanese-egg-anthy")
     '(face-font-family-alternatives …
    more »
  3. Initial settings of Git

    Git setup

    Git needs initial setup. I type:

    $ git config --global user.name "NIIBE Yutaka"
    $ git config --global user.email "gniibe@fsij.org"
    more »
  4. GnuPG settings

    For new machine, here is my GnuPG settings.


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

    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 »