previous check for encryption was hacky and failed on some servers