I use cryfs and they do not offer full backward compatibility. I had this issue when they updated from version 9 to 10. I was so scared that my information is lost. I do not want this to happen again.
#!/usr/bin/env bash
reboot="(ucode|cryptsetup|linux|nvidia|mesa|systemd|wayland|xf86-video|xorg)"
if [[ $(which yay) =~ (yay) ]]; then
updates=$(checkupdates; yay -Qua)
else
updates=$(checkupdates)
fi
echo "$updates"
if [[ $updates =~ $reboot ]]; then
echo "Updating possibly requires system restart ..."
fi
if [[ $updates =~ 'cryfs' ]]; then
echo "Oh-oh - watch out for cryfs update ..."
fi