Is the proxy password encrypted or hashed?

The proxy settings page states that when explicitly configured, the password is encrypted:

choco config set proxyPassword <passwordThatGetsEncryptedInFile> # optional

      

https://github.com/chocolatey/choco/wiki/Proxy-Settings-for-Chocolatey#explicit-proxy-settings

To be precise, is it really encrypted or hashed?

+3
chocolatey


source to share


1 answer


The password is encrypted.

You can see it in action here:

https://github.com/chocolatey/choco/blob/4944318adfff2ea3fe910b4274f87bb3cf57e736/src/chocolatey/infrastructure.app/builders/ConfigurationBuilder.cs#L379



When implemented here:

https://github.com/chocolatey/choco/blob/19cdf4b0da51fcb5e12d9b616971e605a3ff7c9a/src/chocolatey/infrastructure.app/nuget/NugetEncryptionUtility.cs#L25

+1


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics