Page MenuHomeDevCentral

Add known hexadecimal words
ClosedPublic

Authored by dereckson on Feb 18 2018, 15:06.
Tags
None
Referenced Files
F10180137: D1335.id.diff
Mon, Jun 23, 04:02
Unknown Object (File)
Thu, Jun 19, 09:29
Unknown Object (File)
Wed, Jun 18, 19:15
Unknown Object (File)
Wed, Jun 18, 16:07
Unknown Object (File)
Wed, Jun 18, 09:15
Unknown Object (File)
Tue, Jun 17, 11:47
Unknown Object (File)
Thu, Jun 12, 20:26
Unknown Object (File)
Wed, Jun 11, 18:55
Subscribers
None

Details

Summary

The log is parsed to find hexadecimal hashes.

Some English words can be false positives, and such false positives are
ignored through an hexadecimal known words list.

Currently, the list only contains words used in the log, 'added' and 'ed25519'.

This changes adds some more, from a ^[a-f]+$ search in /usr/share/dict/words,
so the log should be safe in the future.

Test Plan

Ensure words aren't parse as SHA hashes.

Diff Detail

Repository
rSERVERSLOGDESIGN Servers logs website (design)
Lint
Lint Passed
Unit
No Test Coverage
Branch
known-hexadecimal-words (branched from master)
Build Status
Buildable 2109
Build 2357: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Feb 18 2018, 15:56
This revision was automatically updated to reflect the committed changes.