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

Python 3.11 incompatibility #25

Closed
goofsec opened this issue May 26, 2023 · 4 comments
Closed

Python 3.11 incompatibility #25

goofsec opened this issue May 26, 2023 · 4 comments

Comments

@goofsec
Copy link

goofsec commented May 26, 2023

Since the method "_decompose" has been removed from "enum", this no longer works:

members, _ = enum._decompose(cls, standard_rights._value_)

Certipy has the same issue: ly4k/Certipy#108

@c3c
Copy link
Owner

c3c commented May 26, 2023

Ahh... I just ran into this about an hour ago :)
I don't know if you're in a position to test a fix for this? PR #26

@retronaut7
Copy link

I was having the same issue as goofsec. I tried the PR you linked and it fixed the issue. Currently on Python 3.11.2 if that helps.

@w0lfcat
Copy link

w0lfcat commented Jul 13, 2023

@retronaut7 I believe I'm having exactly the same problem. I'm using Python 3.11.2 on Kali-2023.2.
Can you help to guide me how to use the linked PR to solve this issue?

Update: I can't believe I just applied the fix by comparing the code line by line from here:
b67754d

I'm new to git and not sure how to use it the right way.
Please help to guide redirect me to the right article or link about this. Thanks

@c3c
Copy link
Owner

c3c commented Jul 13, 2023

I've merged the change into master.
There might still be an incorrect codeflow here related to ADCS (but we'll create a new issue for that then :))

@c3c c3c closed this as completed Jul 13, 2023
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

No branches or pull requests

4 participants