Closed Bug 733355 Opened 14 years ago Closed 7 years ago

Update the commit hook on tamarin-redux to look for the security marker

Categories

(Tamarin Graveyard :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: brbaker, Assigned: brbaker)

References

Details

Attachments

(2 files)

Currently the commit hook that is run on hg.mozilla.org/tamarin-redux is only checking for blacklisted changeset hashes and a couple of old Wasabi and Serrano bugs. We need to have it scan the change for the "MARK_SECURITY_CHANGE" marker and reject any attempt to push a change that has this string. This will pretty much be just copying the code from utils/hooks/tamarin-commit-hook.py and applying it to the hg.mozilla.org/hgcustom/hghooks/tamarin-hook.py
Not really a security bug considering that the active code that I am modifying is publicly visible.
Group: tamarin-security
Attachment #603244 - Flags: review?(fklockii)
Assignee: nobody → brbaker
See Also: → 551557
Note, when this change gets pushed a new bug will need to be created to have the hook deployed, see bug #631071.
Attachment #603244 - Flags: review?(fklockii) → review+
Also going to remove the following blacklist bugs: 563795: scheduled to be released 567107: was declassified 580489: bug not reproducible 507624: already released 618215: scheduled to be released
check for additional marker
Attachment #603272 - Flags: review?(fklockii)
Comment on attachment 603272 [details] [diff] [review] check for sec marker Removing Felix from the review since he already reviewed the patch via 659380.
Attachment #603272 - Flags: review?(fklockii) → review?(trbaker)
Commit hook is working as one would expect. On a local mirror of tamarin-redux that has this hook activated it blocked the following change from being pushed: http://hg.mozilla.org/tamarin-redux/rev/16a6db6a3cb2
Attachment #603272 - Flags: review?(trbaker) → review?(dschaffe)
Attachment #603272 - Flags: review?(dschaffe) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: