Backporting the verification of expired keys
fix encryption cherry pick
remove pepita

no longer required with nuget package restore built into VS.
also the version of pepita used here is not compat with newer versions
of VS
Merge branch 'hotfix-4.0.7' into support-4.0