05nelsonm / kmp-tor

Kotlin Multiplatform Library for embedding Tor into your applications
Apache License 2.0
33 stars 5 forks source link

Refactor commands with `Key.Private` to always have `destroyKeyOnJobCompletion` as an option #435

Closed 05nelsonm closed 1 month ago

05nelsonm commented 1 month ago

This PR refactors the TorCmd.Onion.Add and TorCmd.OnionClientAuth.Add classes to incorporate the option for destroying the Key.Private in their builders.