Skip to content

Updated README.md to reflect sha256 deprecation in favor of `identi… #43

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

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

Conversation

CallVoidStar
Copy link

I configured moroz with a binary rule following the current examples in README.md. I pasted the sha256 from the block event into my config:

[[rules]]
rule_type = "BINARY"
policy = "ALLOWLIST"
sha256 = "<snip>"

I received an error on a Santa client after running santactl sync:

Ignoring bad rule: policy: ALLOWLIST
rule_type: BINARY

received 100 rules
processed 99 rules

After digging into why sha256 wasn't working and was actively rejected by Santa clients, I found this line of code in Santa project that deprecates sha256 in favor of the term identifier:

https://github.com/google/santa/blob/261425aa64bd49523ef99845dab04797da4fa614/Source/santasyncservice/syncv1.proto#L293

Using identifier instead fixed my issue. This change updates README.md to save others from having to track this down too.

…fier` in configuration

I configured moroz with a binary rule following the `README.md` I pasted the sha256 from the block event into my config:
```
[[rules]]
rule_type = "BINARY"
policy = "ALLOWLIST"
sha256 = "<snip>"
```

I received an error on a Santa client after running `santactl sync`:
```
Ignoring bad rule: policy: ALLOWLIST
rule_type: BINARY

received 100 rules
processed 99 rules
```

After digging into why `sha256` wasn't working and was actively rejected by Santa clients, I found this line of code in Santa project that deprecates `sha256` in favor of the term `identifier`:

https://github.com/google/santa/blob/261425aa64bd49523ef99845dab04797da4fa614/Source/santasyncservice/syncv1.proto#L293

Using `identifier` instead fixed my issue. This change updates `README.md` to save others from having to track this down too.
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