return encryption key errors to user