[gpg] fix agent