When gpg --edit-key .... quit, It didn't delete pubring.gpg.lock. Then I use gpg --edit-key again, When I save changed key,gpg said that: Command> save gpg: waiting for lock (hold by 24739 - probably dead) ... I think this is a bug of gpg. I use gnupg-0.9.2 on Redhat-5.1 -- Yu xin