Finish entering text in GPG You need to input EOF (End Of File). Do this with CTRL+D (or more generally, ^D).