gpg: Revamp reading and writing of ring trust packets.