small cleanup in passta.gpg; no functional change
add tests for gpg encode and decode