Greetings,

The following diff contains a fix for the following issue:

  7196957 pkg.depotd fails to read passphrase-protected ssl key when
          using smf or exec authentication


I've manually verified that:

  * the decrypted key file is automatically removed still after
    the depot server binds to the socket

  * that it works when using SMF as an authentication source

I am considering putting this into a respin for U1 given it's trivial nature and the importance of this functionality to some users, although I'd note that it's been broken since b144. See the bug for additional details.

diff --git a/src/depot.py b/src/depot.py
--- a/src/depot.py
+++ b/src/depot.py
@@ -690,7 +690,6 @@ if __name__ == "__main__":
                 else:
                         # Redirect the server to the decrypted key file.
                         ssl_key_file = "/dev/fd/%d" % key_data.fileno()
-                        key_data.close()

         # Setup our global configuration.
         gconf = {
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to