..., zfsboot was writing unencrypted data to the correct location, but when it was read back on the next boot, the data was decrypted, resulting in gibberish and a warning about PAD2 not being read correctly.
This change implements GELI encrypt in the recent vdev_write() function if the partition is identified as being GELI encrypted