Improve valid() in krb5pa formats.
Merge branch 'bleeding-jumbo' into bleeding-mask

* bleeding-jumbo:
  Improve valid() in krb5pa formats.