Compare commits

..
6 Commits
Author SHA1 Message Date
Zachary Rice eabc7b5c12 Fixing merge commit scans and large patch rule checking (#414)
* Fixing merge commit scans and large patch rule checking

* Adding tests for merge request scans
2020-07-25 14:55:59 -04:00
zricethezav 1dc7569f95 removing extra log import... 2020-07-24 14:42:54 -04:00
zricethezav 1797e9c966 Merge branch 'master' of github.com:zricethezav/gitleaks 2020-07-24 14:07:25 -04:00
zricethezav e2eaceb4cd rm bad example config 2020-07-24 14:07:00 -04:00
Zachary Rice c637b129ec Validate config (#412)
* validate config

* fix import fmt

* cleaning
2020-07-24 14:02:48 -04:00
zricethezav 8470e43d7f validate config 2020-07-24 13:54:01 -04:00
55 changed files with 311 additions and 101 deletions

No files matched your search

+10 -2
View File
@@ -9,6 +9,7 @@ import (
"github.com/zricethezav/gitleaks/v5/options"
"github.com/BurntSushi/toml"
log "github.com/sirupsen/logrus"
)
// Allowlist is struct containing items that if encountered will allowlist
@@ -119,6 +120,11 @@ func NewConfig(options options.Options) (Config, error) {
func (tomlLoader TomlLoader) Parse() (Config, error) {
var cfg Config
for _, rule := range tomlLoader.Rules {
// check and make sure the rule is valid
if rule.Regex == "" && rule.FilePathRegex == "" && rule.FileNameRegex == "" && len(rule.Entropies) == 0 {
log.Warnf("Rule %s does not define any actionable data", rule.Description)
continue
}
re, err := regexp.Compile(rule.Regex)
if err != nil {
return cfg, fmt.Errorf("problem loading config: %v", err)
@@ -184,7 +190,7 @@ func (tomlLoader TomlLoader) Parse() (Config, error) {
entropies = append(entropies, Entropy{Min: min, Max: max, Group: int(group)})
}
cfg.Rules = append(cfg.Rules, Rule{
r := Rule{
Description: rule.Description,
Regex: re,
FileNameRegex: fileNameRe,
@@ -192,7 +198,9 @@ func (tomlLoader TomlLoader) Parse() (Config, error) {
Tags: rule.Tags,
Allowlist: allowlists,
Entropies: entropies,
})
}
cfg.Rules = append(cfg.Rules, r)
}
// global file name allowlists
-12
View File
@@ -1,12 +0,0 @@
# This is a simple gitleaks config that contains one rule which checks for AWS keys and a file check that will trigger
# a leak if a .pem file is found
[[rules]]
description = "AWS Manager ID"
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
tags = ["key", "AWS"]
[[rules]]
description = "PEM Files"
file = '''(.*)?pem$'''
tags = ["key", "PEM"]
-2
View File
@@ -23,8 +23,6 @@ github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agR
github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
github.com/go-git/go-git-fixtures/v4 v4.0.1 h1:q+IFMfLx200Q3scvt2hN79JsEzy4AmBTp/pqnefH+Bc=
github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw=
github.com/go-git/go-git/v5 v5.0.0 h1:k5RWPm4iJwYtfWoxIJy4wJX9ON7ihPeZZYC1fLYDnpg=
github.com/go-git/go-git/v5 v5.0.0/go.mod h1:oYD8y9kWsGINPFJoLdaScGCN6dlKg23blmClfZwtUVA=
github.com/go-git/go-git/v5 v5.1.0 h1:HxJn9g/E7eYvKW3Fm7Jt4ee8LXfPOm/H1cdDu8vEssk=
github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
+2 -2
View File
@@ -176,9 +176,9 @@ func (g *Github) ScanPR() {
continue
}
repo.CheckRules(&scan.Bundle{
Content: *f.Patch,
Content: *f.Patch,
FilePath: *f.Filename,
Commit: &commitObj,
Commit: &commitObj,
})
}
}
+1 -1
View File
@@ -89,7 +89,7 @@ type Metadata struct {
RegexTime map[string]int64
Commits int
ScanTime int64
ScanTime int64
patchTime int64
cloneTime int64
}
+2 -2
View File
@@ -45,14 +45,14 @@ func TestSendReceiveLeaks(t *testing.T) {
func TestSendReceiveMeta(t *testing.T) {
tests := []struct {
scanTime int64
scanTime int64
patchTime int64
cloneTime int64
regexTime int64
iterations int
}{
{
scanTime: 1000,
scanTime: 1000,
patchTime: 1000,
cloneTime: 1000,
regexTime: 1000,
+24 -17
View File
@@ -20,11 +20,11 @@ import (
)
const (
diffAddPrefix = "+"
diffAddFilePrefix = "+++ b"
diffAddPrefix = "+"
diffAddFilePrefix = "+++ b"
diffAddFilePrefixSlash = "+++ b/"
diffLineSignature = " @@"
defaultLineNumber = -1
diffLineSignature = " @@"
defaultLineNumber = -1
)
// CheckRules accepts bundle and checks each rule defined in the config against the bundle's content.
@@ -76,18 +76,18 @@ func (repo *Repo) CheckRules(bundle *Bundle) {
if !ruleContainRegex(rule) {
repo.Manager.SendLeaks(manager.Leak{
LineNumber: defaultLineNumber,
Line: "N/A",
Offender: "Filename/path offender: " + filename,
Commit: bundle.Commit.Hash.String(),
Repo: repo.Name,
Message: bundle.Commit.Message,
Rule: rule.Description,
Author: bundle.Commit.Author.Name,
Email: bundle.Commit.Author.Email,
Date: bundle.Commit.Author.When,
Tags: strings.Join(rule.Tags, ", "),
File: filename,
Operation: diffOpToString(bundle.Operation),
Line: "N/A",
Offender: "Filename/path offender: " + filename,
Commit: bundle.Commit.Hash.String(),
Repo: repo.Name,
Message: bundle.Commit.Message,
Rule: rule.Description,
Author: bundle.Commit.Author.Name,
Email: bundle.Commit.Author.Email,
Date: bundle.Commit.Author.When,
Tags: strings.Join(rule.Tags, ", "),
File: filename,
Operation: diffOpToString(bundle.Operation),
})
} else {
//otherwise we check if it matches Content regex
@@ -200,7 +200,15 @@ func extractAndInjectLineNumber(leak *manager.Leak, bundle *Bundle, repo *Repo)
if bundle.Patch == "" {
return
}
// This is needed as some patches generate strings that are larger than
// scanners max size (MaxScanTokenSize = 64 * 1024)
// https://github.com/zricethezav/gitleaks/issues/413
buf := make([]byte, len(bundle.Patch))
scanner := bufio.NewScanner(strings.NewReader(bundle.Patch))
scanner.Buffer(buf, len(bundle.Patch))
scanner.Split(bufio.ScanLines)
currFile := ""
currLine := 0
currStartDiffLine := 0
@@ -393,4 +401,3 @@ func isFilePathWhiteListed(filepath string, allowlist []config.Allowlist) bool {
}
return false
}
+37 -32
View File
@@ -113,41 +113,46 @@ func (repo *Repo) Scan() error {
// increase Commit counter
cc++
err = c.Parents().ForEach(func(parent *object.Commit) error {
defer func() {
if err := recover(); err != nil {
// sometimes the Patch generation will fail due to a known bug in
// sergi's go-diff: https://github.com/sergi/go-diff/issues/89.
// Once a fix has been merged I will remove this recover.
return
}
}()
if repo.timeoutReached() {
return nil
}
if parent == nil {
// shouldn't reach this point but just in case
return nil
}
// inspect first parent only as all other parents will be eventually reached
// (they exist as the tip of other branches, etc)
// See https://github.com/zricethezav/gitleaks/issues/413 for details
parent, err := c.Parent(0)
if err != nil {
return err
}
start := time.Now()
patch, err := parent.Patch(c)
if err != nil {
return fmt.Errorf("could not generate Patch")
defer func() {
if err := recover(); err != nil {
// sometimes the Patch generation will fail due to a known bug in
// sergi's go-diff: https://github.com/sergi/go-diff/issues/89.
// Once a fix has been merged I will remove this recover.
return
}
repo.Manager.RecordTime(manager.PatchTime(howLong(start)))
wg.Add(1)
semaphore <- true
go func(c *object.Commit, patch *object.Patch) {
defer func() {
<-semaphore
wg.Done()
}()
scanPatch(patch, c, repo)
}(c, patch)
}()
if repo.timeoutReached() {
return nil
})
}
if parent == nil {
// shouldn't reach this point but just in case
return nil
}
start := time.Now()
patch, err := parent.Patch(c)
if err != nil {
return fmt.Errorf("could not generate Patch")
}
repo.Manager.RecordTime(manager.PatchTime(howLong(start)))
wg.Add(1)
semaphore <- true
go func(c *object.Commit, patch *object.Patch) {
defer func() {
<-semaphore
wg.Done()
}()
scanPatch(patch, c, repo)
}(c, patch)
if c.Hash.String() == repo.Manager.Opts.CommitTo {
return storer.ErrStop
}
+9
View File
@@ -376,6 +376,15 @@ func TestScan(t *testing.T) {
},
wantPath: "../test_data/test_local_repo_two_leaks_deletion.json",
},
{
description: "test local repo eight (merges)",
opts: options.Options{
RepoPath: "../test_data/test_repos/test_repo_8",
Report: "../test_data/test_local_repo_eight.json.got",
ReportFormat: "json",
},
wantPath: "../test_data/test_local_repo_eight.json",
},
}
for _, test := range tests {
@@ -8,6 +8,7 @@
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
tags = ["key", "AWS"]
## this is an example of a rule that won't work
[[rules]]
description = "Python files"
fileRegex = '''(.*)?py$'''
fileRegex = "(?i)*.py"
+45
View File
@@ -133,5 +133,50 @@
"date": "2020-02-24T14:13:15-05:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:44:48-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 2,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "dummy.txt w/ text",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:39:11-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Update dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:41:11-04:00",
"tags": "key, AWS",
"operation": "addition"
}
]
@@ -133,5 +133,50 @@
"date": "2019-10-24T09:29:27-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:44:48-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 2,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "dummy.txt w/ text",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:39:11-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Update dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:41:11-04:00",
"tags": "key, AWS",
"operation": "addition"
}
]
@@ -73,5 +73,20 @@
"date": "2020-02-24T14:13:15-05:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:44:48-04:00",
"tags": "key, AWS",
"operation": "addition"
}
]
+47
View File
@@ -0,0 +1,47 @@
[
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Merge pull request #1 from zricethezav/additional-secret-branch\n\nUpdate dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:44:48-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 2,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "dummy.txt w/ text",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:39:11-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 6,
"offender": "AKIAIO5FODNN7EXAMPLE",
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
"repo": "test_repo_8",
"rule": "AWS Manager ID",
"commitMessage": "Update dummy.txt",
"author": "Zachary Rice",
"email": "zricer@protonmail.com",
"file": "dummy.txt",
"date": "2020-07-25T14:41:11-04:00",
"tags": "key, AWS",
"operation": "addition"
}
]
@@ -1,19 +1,4 @@
[
{
"line": "N/A",
"lineNumber": -1,
"offender": "Filename/path offender: server.test.py",
"commit": "d274003914c707212cbe84e3e466a00013ccb639",
"repo": "test_repo_1",
"rule": "Python files",
"commitMessage": "comment\n",
"author": "zach rice",
"email": "zricer@protonmail.com",
"file": "server.test.py",
"date": "2019-10-24T10:03:38-04:00",
"tags": "",
"operation": "addition"
},
{
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
"lineNumber": 5,
@@ -28,20 +13,5 @@
"date": "2019-10-24T09:29:27-04:00",
"tags": "key, AWS",
"operation": "addition"
},
{
"line": "N/A",
"lineNumber": -1,
"offender": "Filename/path offender: server.test.py",
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
"repo": "test_repo_1",
"rule": "Python files",
"commitMessage": "commit 1 with secrets\n",
"author": "zach rice",
"email": "zricer@protonmail.com",
"file": "server.test.py",
"date": "2019-10-24T09:29:27-04:00",
"tags": "",
"operation": "addition"
}
]
@@ -0,0 +1,2 @@
# test_repo_8
test repo for 413
@@ -0,0 +1 @@
ref: refs/heads/master
@@ -0,0 +1,13 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/zricethezav/test_repo_8.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.
Binary file not shown.
@@ -0,0 +1,6 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
@@ -0,0 +1 @@
0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice <zrice@gitlab.com> 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git
@@ -0,0 +1 @@
0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice <zrice@gitlab.com> 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git
@@ -0,0 +1 @@
0000000000000000000000000000000000000000 748f11eaf2c38c3cf0ac6a22e44208777e79fa6f Zach Rice <zrice@gitlab.com> 1595702825 -0400 clone: from https://github.com/zricethezav/test_repo_8.git
@@ -0,0 +1,4 @@
xuRÉnã8œ³¾‚@�ÄZ¨␍è„TdYqäEŠ×K@RÔb[–LQV¬¯O7èÃÌ»ÔC¡^…z¬®ªRG×þ’‚s 2èºÐ´lJufÛ”SmÇrRƒfZšêŽ�ê*4u¥!‚_$ åÌ6 �šaÚ :*µÓâªî:)· KÌŒgü­· …†ûpÊtj¸nFM]s8‡�e®ªiZjd6#.QH'‹Z€aw—Œƒïƒx€xiD-ëKEÊó3««¿�fº¦­ê–j�'ªªò`©$ (å´£àû¥¼9ß_òRýŸ³¼ÉÛ2Oÿöƒp–Á$a0GëØÿÉ+@}‹F{­ðê-›Nµ…ã™]áâfˆ°G(�†!òÄ~ð4áÒ‘úfLÔû—~9š>¶›Ó¹Û|xóþ€ ʰÃw␍iï«à–ònN‰#Í>¾ÎǘàÅy»vŠt¾Šö´‰fazñ�.CŠ¢‰w5o{ý}t�,'Fñ ¡Äóߨ–Å_ì ÓXÏB¯â÷­y<Ö¢e¥)¨lb3Q@\‡ñ¨1d†ü#´ÛÛr¶ÓG˜«�÷±WΤìó­iä§0y_ÌÔà.Û4êG:ZìÛ`2™( ›M§$zõÔè÷E8>ýk»,o²º-†
LJ'zÇîv¸.ñán 9m±ø¥En) ×‹ä}2ŽŽFP¿n/Á»7␍%J®î~—0'¯¨» ö;˜Ÿ®«‰9ЈR»ðf±ì“y'ò
øAOh­üêÌŸ¿þwcJÄEÎAÓ�Ï@ðkÇ[ ¾é u~þ”,ø@nã?ö§†HV<iвnR"9貺ý¬Ê¼�Ÿ”
NÎÏòKþ&¾
@@ -0,0 +1,4 @@
x5‘QJÄ@ †}î)r€RQ¼€.º
*‹�éLÚ§™Ì´êÓ^CÐËíÏæ¥Iþ|ÿŸ>Hçg›“�À�Ä‘p„‡ ½¬ÚÂ=ÅŒ£ÄãáSá©Ûvw<Eΰçà_d&ØrôG…ûÒvM³•²˜‚'‡žZÈÁk’1áÜB”rq/ämŸ²§ßòÝ0°#�v¸`€ë˜)):˜PÁ³º¢jcó»fJ,E�ÃÔ
îªòÀVïÓP™ºÆ¾«Äö\âÂæ # æ$¯Ó»²cͰN«¤
dk´ôNbNè²YÁè+ M�ýÕ2Æ ƒUª«ÿ”þús ÊÆ␍§›ÍE Š\%0·•Skh•Œ…Þp戙%VçUpÆj␍ƒšgoÍ0`²ÇÁè²X¢V¶™ßÐ8YCI¶¨BÖŽ‰çÚe .”šüñðµ·uR‚¯—̦o‡³+ÚœRXH»ãáÛRZeý ¤Mãy«›Êîù±ù�Ã6
@@ -0,0 +1,5 @@
xu▓I▐⌡@┘sФW╢■ё51п╛рL4мЮaЯ2╤1фЖ╜i╨ш,n/ЭЗL&й-y≈▓>╫*╘Тi╙╙юRЮ7а)┼иТлd√i╚z Ал0m≤й▄≤B  c╘␍ц░Zлi-─°b°1U╔жтК:я%░* mB ┐PbZЪУjPзи,╛и╡╔°)*╤≤Fl┐Й√LTU√┴"А^␍L
л`]
·Ч9Ьkкят.о?HSЩ┼nК╕╛√·До╚р'ЩЭJP╪RЬ}
·К├сЖЭxмKQТИжР6Ой<Щ√3Я┌XzKчmБУД▀K@╥н!BнB+g2ъW▀╥╣35▀ёЖq┘<╦!■ЫA─°╡█␍шe■мp┘╝с╫}╧█$`L°у)Qё≈╟╦дХ^р┘u8. А·Ts@Б8F├╚ьц⌡йг≈УUсЫ╤┴NLКnЕС│Шм=иX▐?|Вяi╔÷┬⌠DiбМn}Ю╫≈zrXo╨8!^ЁXmгm╘≈K e╣⌡╦╖B⌡ ╫╨Т╣ц║вs╕T≈+┼xnВСЯuВЭ≤Тс╙∙Е5W╫Р╗и╨≈─=╚╤║zЮGyё≈МЧ█ы▒ФN{\<NхЯТ▐5g▀²╤яv)┌L@}╦ g1GЭ╫╧≥0А²║hХн}
∙YS╟▒√лрCэшtyы╩О┐IН┤.оG║K╡▐Зh╩тr^т≥©3:КE/5щJ2⌡,э'&м)о)hШСpzИi'юw0чTЮ╚S╒═╬▌q√∙╒lj|~Й(АT<╔в╓░╓╦м╟═ К╚ЙЯCэе/ВT
@@ -0,0 +1,4 @@
# pack-refs with: peeled fully-peeled sorted
ce6e0398cd8a40085cad12a8f4c96e580c2200c1 refs/remotes/origin/additional-secret-branch
748f11eaf2c38c3cf0ac6a22e44208777e79fa6f refs/remotes/origin/master
64b4391ddf2b399fb5218ee44cf90111d3f7ca9a refs/remotes/origin/zricethezav-patch-1
@@ -0,0 +1 @@
748f11eaf2c38c3cf0ac6a22e44208777e79fa6f
@@ -0,0 +1 @@
ref: refs/remotes/origin/master
@@ -0,0 +1,8 @@
Adding a secret
aws_access_key_id='AKIAIO5FODNN7EXAMPLE',
Adding a secret on another branch!!!
aws_access_key_id='AKIAIO5FODNN7EXAMPLE',
Some more content
@@ -0,0 +1,19 @@
No Longer in Shadows, Pentagon’s U.F.O. Unit Will Make Some Findings Public
For over a decade, the program, now tucked inside the Office of Naval Intelligence, has discussed mysterious events in classified briefings.
Eric W. Davis, an astrophysicist who worked as a subcontractor and then a consultant for the Pentagon U.F.O. program since 2007, said that, in some cases, examination of the materials had so far failed to determine their source and led him to conclude, “We couldn’t make it ourselves.”
wowzers
credit to NYT
uhmmmmmmm
Some more stuff