We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36ca3a0 commit 716ae2aCopy full SHA for 716ae2a
1 file changed
nxc/connection.py
@@ -559,6 +559,9 @@ def login(self):
559
560
if self.args.pfx_cert or self.args.pfx_base64 or self.args.cert_pem:
561
self.logger.debug("Trying to authenticate using Certificate pfx")
562
+ if not self.args.username:
563
+ self.logger.fail("You must specify a username when using certificate authentication")
564
+ return False
565
with sem:
566
# Static DH params because the ones generated by cryptography are considered unsafe by AD for some weird reason
567
dhparams = {
0 commit comments