Encryption and how to read and write it with GPG.
In most cases is just a matter of copying the ~/.gnupg folder. Check available keys with commands explained below.
Owner of folder .gnupg and its contents must be the user. Folder permissions must be 700, and permissions for file gpg.conf must be 600.