Hi, I'm also affected by this. I can hibernate to my encrypted swap just fine - but it took me quite some time to find out why Gnome doesn't give me the option to do so. After some digging I found out that apparently this is an extra check done by upower; indeed there are encrypted-swap setups where it will not work properly.
I don't think there is a completely reliable test on whether encrypted swap will be working or not. HOWEVER, the common way of setting up an hibernation-compatible encrypted swap is using the option keyscript=/lib/cryptsetup/scripts/decrypt_derived in /etc/crypttab. So extending dkp_daemon_check_encrypted_swap to accept swap devices that use decrypt_derived in /etc/crypttab sounds like a good approach to me. I'd just check for "decrypt_derived", so the user could also use /sbin/custom-decrypt-derived. That should be fairly easy to add to dkp_daemon_check_encrypted_swap. Regards, Erich -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

