#2723 better ssl_login() error message when cert is None
Merged a year ago by tkopecek. Opened a year ago by ktdreyer.
ktdreyer/koji ssl-login-error-message  into  master

file modified
+1 -1
@@ -2563,7 +2563,7 @@ 

          cert = cert or self.opts.get('cert')

          serverca = serverca or self.opts.get('serverca')

          if cert is None:

-             raise AuthError('No certification provided')

+             raise AuthError('No client cert provided')

          if not os.access(cert, os.R_OK):

              raise AuthError("Certificate %s doesn't exist or is not accessible" % cert)

          if serverca and not os.access(serverca, os.R_OK):

"certification" is hard to understand. Provide a clearer error to users.

rebased onto 2d8d3e5

a year ago

Commit 60a6052 fixes this pull-request

Pull-Request has been merged by tkopecek

a year ago
Metadata