gpg: Add some asserts.