Skip to content

Fix TrustDirection/TrustType enum crash with newer bloodhound.py#56

Open
chryzsh wants to merge 1 commit intocoffeegist:mainfrom
chryzsh:fix/trust-direction-enum-compat-upstream
Open

Fix TrustDirection/TrustType enum crash with newer bloodhound.py#56
chryzsh wants to merge 1 commit intocoffeegist:mainfrom
chryzsh:fix/trust-direction-enum-compat-upstream

Conversation

@chryzsh
Copy link
Copy Markdown

@chryzsh chryzsh commented Mar 8, 2026

Newer versions of bloodhound.py's ADDomainTrust.to_output() return string names (e.g. 'Inbound') instead of integer values for TrustDirection and TrustType. The enum conversion now only runs when the value is still an integer, maintaining backward compatibility. I've tested on newer datasets that this solves the problem, but I don't have any old datasets that only use integer to test.

Newer versions of bloodhound.py's ADDomainTrust.to_output() return
string names (e.g. 'Inbound') instead of integer values for
TrustDirection and TrustType. The enum conversion now only runs when
the value is still an integer, maintaining backward compatibility.
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.

1 participant