문서나 파일을 암호화하는데 사용하는 gpg를 사용하기 위하여 개인키를 생성을 해야 합니다. 키 생성은 다음과 같이 합니다. # gpg --gen-key키 생성시 다음과 같은 오류가 발생하면 아래 패키지를 설치해야 합니다. can't connect to `/root/.gnupg/S.gpg-agent': No such file or directory gpg-agent[15375]: can't connect server: `ERR 67109133 can't exec `/usr/local/bin/pinentry': No such file or directory' gpg-agent[15375]: can't connect to the PIN entry module: IPC connect call failed gpg..