Error with encrypting: unusable public key

Timo Schulz twoaday at
Fri Mar 2 09:57:50 CET 2007

Olaf Gellert wrote:

> 0xCC21E10F. The key is self-signed, gpg --check-sigs
> does not complain, but still when I try to encrypt
> I get:
> gpg: 0xCC21E10F: skipped: unusable public key

pub  2048R/CC21E10F  created: 2006-11-21  expires: never       usage: SC

This is the information given in --edit-key. And the usage
is the solution for your problem.

It has *no* capability to encrypt data.


More information about the Gnupg-users mailing list