Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix encoding errors that cannot execute loops correctly. #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

me1ons
Copy link

@me1ons me1ons commented Sep 1, 2023

Fix errors caused by encoding issues.

@chibd2000
Copy link

root@iZbp16t0f0capiopc3i773Z:~/linux/output/master/vcenter_saml_login-main# python3 vcenter_saml_login_fix.py -p data.mdb.bak -t 10.17.202.100
[*] Successfully extracted the IdP certificate
Traceback (most recent call last):
File "vcenter_saml_login_fix.py", line 345, in
trusted_cert_1, domain = get_trusted_cert1(bin_stream, args.verbose)
TypeError: cannot unpack non-iterable NoneType object

@devnull044
Copy link

@chibd2000 im currently getting the error you posted using the main branch:

[*] Successfully extracted the IdP certificate
[*] CN: cn=TrustedCertChain-1,cn=TrustedCertificateChains,cn=vSphere.local,cn=Tenants,cn=IdentityManager,cn=Services,dc=vSphere,dc=local
[*] Domain: vSphere.local
Traceback (most recent call last):
  File "/opt/vcenter_saml_login/vcenter_saml_login2.py", line 345, in <module>
    trusted_cert_1, domain = get_trusted_cert1(bin_stream, args.verbose)
TypeError: cannot unpack non-iterable NoneType object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants