Open 05nelsonm opened 2 years ago
Will have to wait until an implementation for Salsa is available for Kotlin Multiplatform.
The other types are deprecated and should not be utilized because of their underlying algorithms which have been broken. Tor uses the latest when TorConfig.CookieAuthFile
is specified, and as this is a "nice to have" for 2.0.0-alpha01
, I believe it will be best to hold off until an implementation can be had via KotlinCrypto.hash
Add ability to set
HashedContorlPassword
in theTorConfig
.:library:manager:kmp-tor-manager.TorConfigProvider.retrieve
method should implement logic to discern between which method to utilize when authenticating (cookie auth, or password).:library:controller:kmp-tor-controller-common
should have implementation to generate or consume a secret, providing the S2K computed string value.:library:controller:kmp-tor-controller-common
should have implementation of a wrapper class to denote valid S2K computed value to be set in the config.See the Spec for more details.