Fix symmetric key handling in seal/open.