Skip to content

Commit

Permalink
add note on winregistry kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Oct 6, 2023
1 parent ad809a6 commit 288d0d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ print(machineid.hashed_id('myappid'))
print(machineid.hashed_id())
```

Both `id` and `hashed_id` accept a `winregistry: bool` kwarg, which
can be used to disable a registry query on Windows (enabled by
default). Depending on your security posture, disabling the
registry query may help prevent machine fingerprints from
being manually modified by a bad actor.

## Testing

To run tests, invoke `unittest`:
Expand Down

0 comments on commit 288d0d6

Please sign in to comment.