Compare commits

...

724 Commits

Author SHA1 Message Date
dependabot[bot]
ca899f3b69
Bump JamesIves/github-pages-deploy-action from 4.6.4 to 4.6.8 (#1101)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.4 to 4.6.8.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.4...v4.6.8)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 17:46:09 +03:00
dependabot[bot]
58ead10170
Bump jekyll from 4.3.3 to 4.3.4 in /docs (#1099)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.3.3...v4.3.4)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 17:40:51 +03:00
dependabot[bot]
aab0c71e02
Bump debian from 12.6-slim to 12.7-slim in /.ci/docker-ci/debian-gnupg2 (#1093)
Bumps debian from 12.6-slim to 12.7-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:47:56 +03:00
dependabot[bot]
0c5f28cb06
Bump debian from 12.6-slim to 12.7-slim in /.ci/release-ci/debian (#1094)
Bumps debian from 12.6-slim to 12.7-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:47:45 +03:00
dependabot[bot]
f9ebed7037
Bump alpine from 3.20.2 to 3.20.3 in /.ci/release-ci/alpine (#1096)
Bumps alpine from 3.20.2 to 3.20.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:47:34 +03:00
dependabot[bot]
7a812e23df
Bump alpine from 3.20.2 to 3.20.3 in /.ci/releaser/alpine (#1095)
Bumps alpine from 3.20.2 to 3.20.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:47:22 +03:00
dependabot[bot]
e5cfe717fc
Bump alpine from 3.20.2 to 3.20.3 in /.ci/docker-ci/alpine (#1097)
Bumps alpine from 3.20.2 to 3.20.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:46:29 +03:00
dependabot[bot]
37b48e9216
Bump debian from 12.6-slim to 12.7-slim in /.ci/docker-ci/debian-gnupg1 (#1098)
Bumps debian from 12.6-slim to 12.7-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 19:46:16 +03:00
dependabot[bot]
a322f0c121
Bump JamesIves/github-pages-deploy-action from 4.6.3 to 4.6.4 (#1092)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.3...v4.6.4)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 18:39:17 +03:00
dependabot[bot]
fe0cae825a
Bump alpine from 3.20.1 to 3.20.2 in /.ci/releaser/alpine (#1088)
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
2024-07-29 23:42:19 +03:00
dependabot[bot]
de3d5e8d9e
Bump alpine from 3.20.1 to 3.20.2 in /.ci/release-ci/alpine (#1090)
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
2024-07-29 23:26:12 +03:00
dependabot[bot]
b982f28cec
Bump alpine from 3.20.1 to 3.20.2 in /.ci/docker-ci/alpine (#1089)
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
2024-07-29 23:20:54 +03:00
sobolevn
ab5af5462c
Update CI (#1091) 2024-07-29 18:31:31 +03:00
dependabot[bot]
2b2d731121
Bump debian from 11.7-slim to 12.6-slim in /.ci/release-ci/debian (#1086)
Bumps debian from 11.7-slim to 12.6-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 21:27:30 +03:00
dependabot[bot]
218c22151f
Bump debian from 11.7-slim to 12.6-slim in /.ci/docker-ci/debian-gnupg1 (#1085)
Bumps debian from 11.7-slim to 12.6-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 17:55:36 +03:00
dependabot[bot]
5dff7f08f5
Bump debian from 11.7-slim to 12.6-slim in /.ci/docker-ci/debian-gnupg2 (#1084)
Bumps debian from 11.7-slim to 12.6-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 17:40:05 +03:00
dependabot[bot]
991994a01c
Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.3 (#1083)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.0 to 4.6.3.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.0...v4.6.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 17:21:09 +03:00
dependabot[bot]
8248bb3b41
Bump alpine from 3.18.2 to 3.20.1 in /.ci/release-ci/alpine (#1082)
Bumps alpine from 3.18.2 to 3.20.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 18:42:04 +03:00
dependabot[bot]
27388c52f9
Bump alpine from 3.18.2 to 3.20.1 in /.ci/docker-ci/alpine (#1080)
Bumps alpine from 3.18.2 to 3.20.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 17:18:08 +03:00
dependabot[bot]
56664bbc78
Bump alpine from 3.18.2 to 3.20.1 in /.ci/releaser/alpine (#1081)
Bumps alpine from 3.18.2 to 3.20.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-24 17:17:59 +03:00
dependabot[bot]
2a2cf1cfd3
Bump fedora from 38 to 40 in /.ci/docker-ci/fedora (#1074)
Bumps fedora from 38 to 40.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 21:17:30 +03:00
dependabot[bot]
40b66e7f17
Bump fedora from 38 to 40 in /.ci/release-ci/fedora (#1073)
Bumps fedora from 38 to 40.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 21:17:22 +03:00
Nikita Sobolev
49525b8a2b
Update README.md 2024-04-22 23:47:19 +03:00
dependabot[bot]
74ee65d185
Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 (#1072)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 00:01:36 +03:00
Josh Rabinowitz
01cc4430c7
Fix testing on freebsd (#1069) 2024-02-19 11:32:37 -05:00
Nikita Sobolev
b48b2949c0
Update FUNDING.yml 2024-02-12 19:45:02 +03:00
dependabot[bot]
9bf1f17bb4
Bump Vampire/setup-wsl from 2 to 3 (#1065)
Bumps [Vampire/setup-wsl](https://github.com/vampire/setup-wsl) from 2 to 3.
- [Release notes](https://github.com/vampire/setup-wsl/releases)
- [Commits](https://github.com/vampire/setup-wsl/compare/v2...v3)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 19:07:42 +03:00
dependabot[bot]
99abd78edc
Bump jekyll from 4.3.2 to 4.3.3 in /docs (#1060)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.3.2...v4.3.3)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 18:36:45 +03:00
dependabot[bot]
3527f9a550
Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0 (#1045)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.4.3...v4.5.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 18:19:56 +03:00
dependabot[bot]
e7f6e573cb
Bump actions/checkout from 3 to 4 (#1024)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 18:45:05 +03:00
dependabot[bot]
b7a08f8085
Bump JamesIves/github-pages-deploy-action from 4.4.2 to 4.4.3 (#1011)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 17:27:41 +03:00
dependabot[bot]
dbe85bbd37
Bump alpine from 3.17.2 to 3.18.2 in /.ci/docker-ci/alpine (#1005)
Bumps alpine from 3.17.2 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 21:25:07 +03:00
dependabot[bot]
bb954abe36
Bump alpine from 3.17.2 to 3.18.2 in /.ci/release-ci/alpine (#1006)
Bumps alpine from 3.17.2 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 21:24:50 +03:00
dependabot[bot]
18f62cf50b
Bump alpine from 3.17.2 to 3.18.2 in /.ci/releaser/alpine (#1009)
Bumps alpine from 3.17.2 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 21:11:32 +03:00
dependabot[bot]
2a1cd5b918
Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2 (#1002)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 22:09:05 +03:00
dependabot[bot]
8c3bddb8c8
Bump ubuntu from 23.04 to 23.10 in /.ci/release-ci/ubuntu (#1000)
Bumps ubuntu from 23.04 to 23.10.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 00:08:27 +03:00
dependabot[bot]
c183948e28
Bump ubuntu from 23.04 to 23.10 in /.ci/docker-ci/ubuntu (#1001)
Bumps ubuntu from 23.04 to 23.10.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 00:08:18 +03:00
dependabot[bot]
7f977d2e0d
Bump debian from 11.6-slim to 11.7-slim in /.ci/docker-ci/debian-gnupg2 (#993)
Bumps debian from 11.6-slim to 11.7-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 20:28:03 +03:00
dependabot[bot]
e4249b7dc0
Bump debian from 11.6-slim to 11.7-slim in /.ci/docker-ci/debian-gnupg1 (#992)
Bumps debian from 11.6-slim to 11.7-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 20:27:53 +03:00
dependabot[bot]
950472258c
Bump debian from 11.6-slim to 11.7-slim in /.ci/release-ci/debian (#994)
Bumps debian from 11.6-slim to 11.7-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 20:27:44 +03:00
dependabot[bot]
8be715e89a
Bump fedora from 37 to 38 in /.ci/docker-ci/fedora (#990)
Bumps fedora from 37 to 38.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 22:10:01 +03:00
dependabot[bot]
bbf552c81d
Bump fedora from 37 to 38 in /.ci/release-ci/fedora (#991)
Bumps fedora from 37 to 38.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 22:09:45 +03:00
bassistchris
3b845650fd
fixes header nav for installation and plugins; updates README installation URL (#989)
* fixes header nav for installation and plugins

* also updates README for accurate installation URL

---------

Co-authored-by: Chris Lutz <chris@sysadminchris.info>
2023-04-20 11:34:44 +03:00
Nikita Sobolev
25e86715ca
Update _config.yml 2023-03-18 16:04:14 +03:00
Nikita Sobolev
63d3bdf425
Delete CNAME 2023-03-18 15:30:30 +03:00
Nikita Sobolev
4cb78c2dac
Fix the domain name / path in the Jekyll (#982) 2023-03-18 15:28:24 +03:00
dependabot[bot]
1bad28dd76
Bump ubuntu from 22.04 to 23.04 in /.ci/docker-ci/ubuntu (#975)
Bumps ubuntu from 22.04 to 23.04.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 17:29:03 -05:00
dependabot[bot]
d2d89c1829
Bump ubuntu from 22.04 to 23.04 in /.ci/release-ci/ubuntu (#976)
Bumps ubuntu from 22.04 to 23.04.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 17:28:56 -05:00
dependabot[bot]
259d5e2592
Bump fedora from 36 to 37 in /.ci/release-ci/fedora (#957)
Bumps fedora from 36 to 37.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 17:28:39 -05:00
dependabot[bot]
3f71f38dcd
Bump fedora from 36 to 37 in /.ci/docker-ci/fedora (#960)
Bumps fedora from 36 to 37.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 17:28:26 -05:00
dependabot[bot]
e573b2db60
Bump alpine from 3.16.3 to 3.17.2 in /.ci/release-ci/alpine (#977)
Bumps alpine from 3.16.3 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:52:58 -05:00
dependabot[bot]
eb705ed377
Bump alpine from 3.16.3 to 3.17.2 in /.ci/docker-ci/alpine (#978)
Bumps alpine from 3.16.3 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:52:45 -05:00
dependabot[bot]
49da9458a4
Bump alpine from 3.16.3 to 3.17.2 in /.ci/releaser/alpine (#979)
Bumps alpine from 3.16.3 to 3.17.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:52:32 -05:00
dependabot[bot]
40d5a4a11d
Bump Vampire/setup-wsl from 1 to 2 (#973)
Bumps [Vampire/setup-wsl](https://github.com/Vampire/setup-wsl) from 1 to 2.
- [Release notes](https://github.com/Vampire/setup-wsl/releases)
- [Commits](https://github.com/Vampire/setup-wsl/compare/v1...v2)

---
updated-dependencies:
- dependency-name: Vampire/setup-wsl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 17:46:55 +03:00
dependabot[bot]
9ba50dbff9
Bump jekyll from 4.3.1 to 4.3.2 in /docs (#972)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 11:38:52 +03:00
Jonathan Barratt
83b121e432
DOCS: Fix typo (#966) 2023-01-11 11:20:49 -05:00
dependabot[bot]
b91c3feece
Bump debian from 11.5-slim to 11.6-slim in /.ci/release-ci/debian (#963)
Bumps debian from 11.5-slim to 11.6-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 18:42:51 +03:00
dependabot[bot]
c1c6d7b39e
Bump debian from 11.5-slim to 11.6-slim in /.ci/docker-ci/debian-gnupg1 (#965)
Bumps debian from 11.5-slim to 11.6-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 18:42:40 +03:00
dependabot[bot]
e97d2e7733
Bump debian from 11.5-slim to 11.6-slim in /.ci/docker-ci/debian-gnupg2 (#964)
Bumps debian from 11.5-slim to 11.6-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 18:42:32 +03:00
dependabot[bot]
550b9c9479
Bump alpine from 3.16.2 to 3.16.3 in /.ci/docker-ci/alpine (#953)
Bumps alpine from 3.16.2 to 3.16.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 17:51:16 +03:00
dependabot[bot]
4b1aeed80f
Bump alpine from 3.16.2 to 3.16.3 in /.ci/releaser/alpine (#954)
Bumps alpine from 3.16.2 to 3.16.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 17:51:05 +03:00
dependabot[bot]
21bc6b1210
Bump alpine from 3.16.2 to 3.16.3 in /.ci/release-ci/alpine (#955)
Bumps alpine from 3.16.2 to 3.16.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 17:50:52 +03:00
dependabot[bot]
43b4d70041
Bump vmactions/freebsd-vm from 0.2.9 to 0.3.0 (#950)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.9 to 0.3.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.9...v0.3.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 17:17:29 +03:00
dependabot[bot]
da922ac78d
Bump jekyll from 4.3.0 to 4.3.1 in /docs (#948)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 20:51:23 +03:00
dependabot[bot]
785dc1481c
Bump jekyll from 4.2.2 to 4.3.0 in /docs (#944)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.2.2...v4.3.0)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-21 17:26:51 +03:00
dependabot[bot]
ab64f6735f
Bump JamesIves/github-pages-deploy-action from 4.4.0 to 4.4.1 (#943)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 20:28:31 +03:00
dependabot[bot]
2a625223a8
Bump vmactions/freebsd-vm from 0.2.8 to 0.2.9 (#940)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.8...v0.2.9)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 11:33:35 -04:00
dependabot[bot]
70c7b39f8b
Bump debian from 11.4-slim to 11.5-slim in /.ci/docker-ci/debian-gnupg1 (#937)
Bumps debian from 11.4-slim to 11.5-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 17:14:57 +03:00
dependabot[bot]
11b9a63eb3
Bump debian from 11.4-slim to 11.5-slim in /.ci/release-ci/debian (#936)
Bumps debian from 11.4-slim to 11.5-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 17:14:47 +03:00
dependabot[bot]
7b1dabd2b4
Bump debian from 11.4-slim to 11.5-slim in /.ci/docker-ci/debian-gnupg2 (#935)
Bumps debian from 11.4-slim to 11.5-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 17:14:37 +03:00
dependabot[bot]
38a155b013
Bump vmactions/freebsd-vm from 0.2.6 to 0.2.8 (#934)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.6 to 0.2.8.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.6...v0.2.8)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-15 17:36:34 +03:00
dependabot[bot]
59d34e0813
Bump vmactions/freebsd-vm from 0.2.5 to 0.2.6 (#932)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.5...v0.2.6)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 11:42:38 -04:00
dependabot[bot]
d43c96286e
Bump vmactions/freebsd-vm from 0.2.4 to 0.2.5 (#931)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.4...v0.2.5)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 10:48:36 -04:00
dependabot[bot]
c1effe5cf0
Bump alpine from 3.16.0 to 3.16.2 in /.ci/releaser/alpine (#924)
Bumps alpine from 3.16.0 to 3.16.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:17:04 -04:00
dependabot[bot]
77870a8a91
Bump alpine from 3.16.1 to 3.16.2 in /.ci/release-ci/alpine (#922)
Bumps alpine from 3.16.1 to 3.16.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:16:53 -04:00
dependabot[bot]
e565e5ae10
Bump alpine from 3.16.1 to 3.16.2 in /.ci/docker-ci/alpine (#923)
Bumps alpine from 3.16.1 to 3.16.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:16:41 -04:00
dependabot[bot]
832fd047b5
Bump vmactions/freebsd-vm from 0.2.0 to 0.2.4 (#926)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.0 to 0.2.4.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.0...v0.2.4)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:16:23 -04:00
Josh Rabinowitz
577981d90a
disable arch tests for now (#928)
* disable arch tests for now
* note that Arch Linux now requires install from source
* note issue with Arch, and with spaces in parent dirs
2022-09-05 18:51:45 -04:00
Josh Rabinowitz
ac0f720a39
fix for #918, use OSX stat, not brew's gnu version(#920) 2022-08-09 13:48:26 -04:00
dependabot[bot]
905a56cd26
Bump alpine from 3.16.0 to 3.16.1 in /.ci/release-ci/alpine (#913)
Bumps alpine from 3.16.0 to 3.16.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 21:45:09 +03:00
dependabot[bot]
31098d011d
Bump alpine from 3.16.0 to 3.16.1 in /.ci/docker-ci/alpine (#911)
Bumps alpine from 3.16.0 to 3.16.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 20:40:31 +03:00
Emran BatmanGhelich
009abaf893
Docs: Fix a typo in man (#909) 2022-07-23 12:32:33 +03:00
dependabot[bot]
cbeeb94d97
Bump JamesIves/github-pages-deploy-action from 4.3.4 to 4.4.0 (#908)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.4...v4.4.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 18:12:06 +03:00
Josh Soref
1578a4be85
Spelling (#907)
* spelling: encrypt

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: maintainer

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: reference

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-07-20 09:32:23 +03:00
dependabot[bot]
68b19e031d
Bump vmactions/freebsd-vm from 0.1.9 to 0.2.0 (#906)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.9 to 0.2.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.9...v0.2.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-19 21:13:28 +03:00
Ochan Kwon
b0378617e2
bug fix for 'reveal' in a subdir (#903) (#905) 2022-07-19 13:42:24 +03:00
dependabot[bot]
68a05aa632
Bump debian from 11.3-slim to 11.4-slim in /.ci/docker-ci/debian-gnupg2 (#900)
Bumps debian from 11.3-slim to 11.4-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 19:52:50 +03:00
dependabot[bot]
e796ccedbc
Bump debian from 11.3-slim to 11.4-slim in /.ci/release-ci/debian (#899)
Bumps debian from 11.3-slim to 11.4-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 19:52:32 +03:00
dependabot[bot]
5f7f533a7f
Bump debian from 11.3-slim to 11.4-slim in /.ci/docker-ci/debian-gnupg1 (#901)
Bumps debian from 11.3-slim to 11.4-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 19:52:17 +03:00
dependabot[bot]
b980f8eea0
Bump vmactions/freebsd-vm from 0.1.7 to 0.1.9 (#902)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.7 to 0.1.9.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.7...v0.1.9)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 19:52:04 +03:00
dependabot[bot]
6e4eefc954
Bump vmactions/freebsd-vm from 0.1.6 to 0.1.7 (#898)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.6...v0.1.7)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 16:36:33 -04:00
dependabot[bot]
62ae95ab61
Bump JamesIves/github-pages-deploy-action from 4.3.3 to 4.3.4 (#896)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.3...v4.3.4)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 20:00:46 +03:00
joshr
015950faa0 fix backquotes, closes #894 2022-06-17 14:31:41 -04:00
Nikita Sobolev
0fd4f0f684
Update Dockerfile (#880) 2022-06-17 17:32:13 +03:00
joshr
936833320f update changelog 2022-06-17 10:20:48 -04:00
Josh Rabinowitz
6ff4d00bcd
fix links to bats docs about descriptor 3 (#892) 2022-06-12 14:35:56 -04:00
Josh Rabinowitz
77c0b27006
have hide -v show output from gnupg (#888)
* also document bug #834 and improve comments
2022-06-12 13:56:02 -04:00
joshr
c5bf9958df update man pages 2022-06-12 09:09:09 -04:00
joshr
e8d6299c26 fix typo in man pages 2022-06-12 09:08:51 -04:00
joshr
345b812009 tweak email example in man page 2022-06-12 09:04:10 -04:00
joshr
940f710244 Merge branch 'master' of github.com:sobolevn/git-secret 2022-06-12 09:01:51 -04:00
Josh Rabinowitz
eda12f20f9
attempt fix for #851 (#889) 2022-06-12 09:54:49 -04:00
joshr
887992b588 update man pages 2022-06-12 09:00:52 -04:00
Josh Rabinowitz
8345e526cd
Issue 874 locate git repo (#886)
* first step in improving error message for #874
* possible doc fix for #851
* improve comment
* update changelog
2022-06-11 10:19:04 -04:00
Josh Rabinowitz
c7751afad8
temp removal alpine releases for #881; build fixes (#884)
* temp removal alpine releases for #881; build fixes
* update CHANGELOG for next release
* update archlinux base image
2022-06-10 15:26:04 -04:00
sobolevn
ea53c9cc06
Try latest-stable instead of all 2022-06-05 12:30:39 +03:00
sobolevn
83e1e282f6
Run release-ci on Makefile changes 2022-06-05 11:49:10 +03:00
sobolevn
39514e76f0
Fix release dry run 2022-06-05 11:43:25 +03:00
sobolevn
befa41e9bb
Fix release dry run 2022-06-05 11:35:37 +03:00
sobolevn
0c3a535ec6
Fix release dry run 2022-06-05 11:29:20 +03:00
sobolevn
0cf33e3254
Fix lint 2022-06-05 11:24:44 +03:00
sobolevn
9f04fe7593
Fix releaser install 2022-06-05 11:22:37 +03:00
sobolevn
7d68acffbe
Add release dry-run 2022-06-05 10:56:24 +03:00
sobolevn
666691de88
Version 0.5.0 release 2022-06-05 10:31:07 +03:00
dependabot[bot]
fa0198bad1
Bump alpine from 3.15.4 to 3.16.0 in /.ci/docker-ci/alpine (#875)
Bumps alpine from 3.15.4 to 3.16.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 21:19:10 +03:00
dependabot[bot]
c1d9569b8d
Bump alpine from 3.15.4 to 3.16.0 in /.ci/releaser/alpine (#877)
Bumps alpine from 3.15.4 to 3.16.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 21:18:57 +03:00
dependabot[bot]
bb20337ff0
Bump fedora from 35 to 36 in /.ci/release-ci/fedora (#867)
Bumps fedora from 35 to 36.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 00:18:50 +03:00
dependabot[bot]
424a303acb
Bump fedora from 35 to 36 in /.ci/docker-ci/fedora (#866)
Bumps fedora from 35 to 36.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 00:18:33 +03:00
Josh Rabinowitz
6a206509f6
mention that we test on AlmaLinux and Rocky 2022-05-07 10:23:20 -04:00
dependabot[bot]
1ddc6baa12
Bump JamesIves/github-pages-deploy-action from 4.3.2 to 4.3.3 (#856)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.2...v4.3.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 17:46:26 +03:00
dependabot[bot]
d50b00a26d
Bump ubuntu from 20.04 to 22.04 in /.ci/docker-ci/ubuntu (#853)
Bumps ubuntu from 20.04 to 22.04.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 20:07:56 +03:00
dependabot[bot]
2fe0c7027c
Bump ubuntu from 20.04 to 22.04 in /.ci/release-ci/ubuntu (#852)
Bumps ubuntu from 20.04 to 22.04.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 19:49:40 +03:00
dependabot[bot]
0ecf72527d
Bump JamesIves/github-pages-deploy-action from 4.3.0 to 4.3.2 (#854)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.0 to 4.3.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.0...v4.3.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 19:49:27 +03:00
Benny Neugebauer
3eadd34456
fix typo (#855) 2022-04-25 19:47:58 +03:00
Josh Rabinowitz
38379a2aee
more doc improvements (#848) 2022-04-24 14:51:50 -04:00
Josh Rabinowitz
c143bf0652
add freebsd testing (#849) 2022-04-24 14:26:05 -04:00
Josh Rabinowitz
a1013791ed
More doc improvements (#847) 2022-04-24 11:15:14 -04:00
joshr
e87ee61f56 rewrite: why git-secret exists, how it works 2022-04-24 10:21:11 -04:00
joshr
c01e801ded fix typo 2022-04-24 10:09:46 -04:00
joshr
136adeb8a4 more install doc improvements 2022-04-24 10:09:14 -04:00
joshr
df6bd15e21 improve Alpine install docs 2022-04-24 10:03:26 -04:00
joshr
701dc7eced improve windows install docs 2022-04-24 10:01:27 -04:00
joshr
9f4032c1c4 fix markdown links to MSYS and Cygwin 2022-04-24 09:51:54 -04:00
Josh Rabinowitz
4c0622c5d3
rewrite windows docs (#845)
* basic windows docs: WSL, CYGWIN, MSYS, & Mingw-w64
* update changelog
2022-04-24 09:48:30 -04:00
joshr
3b7f91a2e8 more doc updates 2022-04-24 09:47:25 -04:00
joshr
5d659a1602 bump dev version to 0.5.0-alpha2 2022-04-24 09:37:13 -04:00
joshr
99c758b298 change git-secret one-line description 2022-04-24 09:32:47 -04:00
Josh Rabinowitz
73288eb3f0
don't try to decrypt non-existent files, update man pages 2022-04-23 23:55:26 -04:00
Josh Rabinowitz
a7fa6554e8
test on windows with WSL, update changelog 2022-04-23 23:54:22 -04:00
Benny Neugebauer
74e79289d8
describe Windows installation (#837)
* update docs in installation.md
2022-04-22 15:47:44 -04:00
Josh Rabinowitz
5175651816
add MSYS support 2022-04-21 20:28:25 -04:00
Josh Rabinowitz
549cd9aa24
Issue 706 decrypt errors (#831)
* check for encrypted version of file before decrypting, for #706
* improve error messages, verbose output and non-verbose output
* in tests, prefix output from git init with 'git: '
* 'clean' options only remove added files, for #833
* update changelog
2022-04-19 17:14:55 -04:00
Josh Rabinowitz
87e36cca5b
man page improvements (#830)
* improve command summaries in man pages
* improve some phrasing
2022-04-17 15:17:07 -04:00
Josh Rabinowitz
084a5256e1
for #811: allow some perm warnings in non-verbose mode (#825) 2022-04-15 22:06:41 -04:00
joshr
80ccb425c5 update man pages 2022-04-15 20:12:48 -04:00
Josh Rabinowitz
120edded4f
Cleanups 2022 04 (#824)
* change file desc we use to pass gnupg info
* improve content and phrasing in docs
* improve docs about locations of private/public keys
* update changelog
2022-04-14 19:07:52 -04:00
dependabot[bot]
f5fe4ecb96
Bump alpine from 3.15.3 to 3.15.4 in /.ci/releaser/alpine (#827)
Bumps alpine from 3.15.3 to 3.15.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 18:20:39 +03:00
dependabot[bot]
0969edc1e4
Bump alpine from 3.15.3 to 3.15.4 in /.ci/release-ci/alpine (#829)
Bumps alpine from 3.15.3 to 3.15.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 18:20:29 +03:00
dependabot[bot]
90d60b9244
Bump alpine from 3.15.3 to 3.15.4 in /.ci/docker-ci/alpine (#828)
Bumps alpine from 3.15.3 to 3.15.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 18:20:19 +03:00
dependabot[bot]
86f2ec43d5
Bump debian from 11.2-slim to 11.3-slim in /.ci/docker-ci/debian-gnupg1 (#820)
Bumps debian from 11.2-slim to 11.3-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:44:56 +03:00
dependabot[bot]
be5095847b
Bump debian from 11.2-slim to 11.3-slim in /.ci/release-ci/debian (#817)
Bumps debian from 11.2-slim to 11.3-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:44:47 +03:00
dependabot[bot]
059e59d0be
Bump alpine from 3.15.2 to 3.15.3 in /.ci/release-ci/alpine (#821)
Bumps alpine from 3.15.2 to 3.15.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:06:18 +03:00
dependabot[bot]
0f89362d3e
Bump alpine from 3.15.2 to 3.15.3 in /.ci/releaser/alpine (#819)
Bumps alpine from 3.15.2 to 3.15.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:06:03 +03:00
dependabot[bot]
ce97ad42e8
Bump alpine from 3.15.2 to 3.15.3 in /.ci/docker-ci/alpine (#818)
Bumps alpine from 3.15.2 to 3.15.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:05:52 +03:00
dependabot[bot]
ffb97642e2
Bump debian from 11.2-slim to 11.3-slim in /.ci/docker-ci/debian-gnupg2 (#822)
Bumps debian from 11.2-slim to 11.3-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:04:24 +03:00
dependabot[bot]
05b5fdf72f
Bump JamesIves/github-pages-deploy-action from 4.2.5 to 4.3.0 (#823)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.5...v4.3.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 18:04:13 +03:00
Josh Rabinowitz
c798e89539
updates for #813 (#814)
* updates for #813

* update man pages

* Update utils/tests.sh

Co-authored-by: joshr <joshr>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-04-02 18:16:41 +03:00
Nikita Sobolev
a97dd7ffa8
SECRETS_TEST_VERBOSE can be 0 (#816)
* `SECRETS_TEST_VERBOSE` can be `0`

* Update _git_secret_tools.sh
2022-04-02 18:01:15 +03:00
Josh Rabinowitz
db03c638d5
in verbose mode, show some gnupg perm warnings (#812)
* set git-secret keys dir to 700 perms, for #811
* update changelog
* test improvements
* clean up comments
* remove unused code
* update git-secret-init man page
* document change to git-secret-init
2022-04-01 15:35:30 -04:00
dependabot[bot]
460ad9d048
Bump alpine from 3.15.1 to 3.15.2 in /.ci/release-ci/alpine (#807)
Bumps alpine from 3.15.1 to 3.15.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 18:34:13 +03:00
dependabot[bot]
61a23721af
Bump alpine from 3.15.1 to 3.15.2 in /.ci/docker-ci/alpine (#808)
Bumps alpine from 3.15.1 to 3.15.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 18:34:01 +03:00
dependabot[bot]
2198546317
Bump alpine from 3.15.1 to 3.15.2 in /.ci/releaser/alpine (#809)
Bumps alpine from 3.15.1 to 3.15.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 18:33:50 +03:00
Nikita Sobolev
fee5b1a181
Use matrix build for OSX tests (#805)
* Update test.yml

* Update test.yml

* Update test.yml
2022-03-27 13:47:46 +03:00
Josh Rabinowitz
563ae4ec82
improve testing gitignore, add verbose test on osx (#800)
* Improve testing of .gitignore contents
* add an automated verbose output test on osx
* rename variables, comment improvements
2022-03-26 14:49:11 -04:00
Josh Rabinowitz
fe2e4eaaf2
update changelog (#804) 2022-03-25 10:22:13 -04:00
Josh Rabinowitz
c7325b2d9f
upgrate our bats-core to v1.6.0 (#803) 2022-03-25 09:07:58 -04:00
Josh Rabinowitz
eefa10623a
changes to .gitignore usage and testing in response to #789 (#791)
* test .gitignore has expected line count, for #792
* let 'add' append filenames to .gitignore in tests
* add comments related to #789
* fix test to allow for more output from 'add'
* improve error message output
* allow for extra output from 'add' in test
* tweaks as per shellcheck lint
* improve comments, cleanup code
* update changelog
* describe test better
2022-03-23 14:13:53 -04:00
dependabot[bot]
172bb0884b
Bump alpine from 3.15.0 to 3.15.1 in /.ci/releaser/alpine (#797)
Bumps alpine from 3.15.0 to 3.15.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 18:08:45 +03:00
dependabot[bot]
8cb2f189ad
Bump alpine from 3.15.0 to 3.15.1 in /.ci/docker-ci/alpine (#798)
Bumps alpine from 3.15.0 to 3.15.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 18:08:35 +03:00
dependabot[bot]
627c417d78
Bump alpine from 3.15.0 to 3.15.1 in /.ci/release-ci/alpine (#799)
Bumps alpine from 3.15.0 to 3.15.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 18:08:25 +03:00
Josh Rabinowitz
92d47c218d
use file descriptor to pass passphrase to gnupg, for #781 2022-03-06 07:09:20 -05:00
dependabot[bot]
bc38c0c996
Bump jekyll from 4.2.1 to 4.2.2 in /docs (#788)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 19:10:36 +03:00
Nikita Sobolev
20fbaf2126
Update test.yml 2022-03-03 19:06:30 +03:00
Nikita Sobolev
725f35949e Add build-man.yml 2022-03-03 19:06:09 +03:00
Nikita Sobolev
f986054b30
Update github-pages.yml 2022-03-03 18:03:43 +03:00
dependabot[bot]
08ae017981
Bump actions/checkout from 2 to 3 (#787)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 18:14:04 +03:00
Josh Rabinowitz
a57acbceab
test on arch (#785)
* also cleanups
2022-02-27 08:37:18 -05:00
Josh Rabinowitz
50734fd364
cleanups and renames (#784)
* rename _append_* functions to _prepend_*
* improve code flow
* be more standard with shellcheck disables
2022-02-27 08:30:27 -05:00
Bryan Howard
898d9ae53c
call usage() with expected parameter list (#782) 2022-02-22 20:52:36 -05:00
Josh Rabinowitz
ba1dc04f3d
show and fix 'style' complaints from shellcheck (#779) 2022-02-20 10:39:37 -05:00
Josh Rabinowitz
ef5a1e5235
revert unexplained changes from previous merge (#780) 2022-02-20 09:51:35 -05:00
Bryan Howard
66541e8937
remove trailing whitespace
* don't use _incorrect_usage() function as much
2022-02-20 09:41:45 -05:00
dependabot[bot]
b2aefc29a3
Bump JamesIves/github-pages-deploy-action from 4.2.4 to 4.2.5 (#778)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.4...v4.2.5)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 17:32:15 +03:00
dependabot[bot]
bc06258d67
Bump JamesIves/github-pages-deploy-action from 4.2.3 to 4.2.4 (#776)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.3...v4.2.4)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 18:14:08 +03:00
joshr
948776fa4d mention builds/tests on alma linux in change log 2022-02-16 09:52:26 -05:00
Josh Rabinowitz
2b9cfcdb64
test and build release rpms with alma linux 2022-02-15 13:49:02 -05:00
Nikita Sobolev
569f2e8315
Update release-ci.yml 2022-02-15 08:45:11 +03:00
Nikita Sobolev
f761eba9a9
Update release-ci.yml (#774) 2022-02-15 08:44:02 +03:00
Nikita Sobolev
07e948b68e
Update release-ci.yml 2022-02-15 08:34:21 +03:00
dependabot[bot]
192bd479d7
Bump actions/github-script from 5.1.0 to 6 (#773)
Bumps [actions/github-script](https://github.com/actions/github-script) from 5.1.0 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5.1.0...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 19:48:18 +03:00
Josh Rabinowitz
ae866f7505
test with rocky linux instead of centos (#772) 2022-02-13 13:46:17 -05:00
dependabot[bot]
3535a6171d
Bump actions/github-script from 3 to 5.1.0 (#771)
Bumps [actions/github-script](https://github.com/actions/github-script) from 3 to 5.1.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3...v5.1.0)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 17:46:33 +03:00
dependabot[bot]
9f3aa0062e
Bump jekyll-seo-tag from 2.7.1 to 2.8.0 in /docs (#770)
Bumps [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/jekyll/jekyll-seo-tag/releases)
- [Changelog](https://github.com/jekyll/jekyll-seo-tag/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll-seo-tag/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: jekyll-seo-tag
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 17:45:18 +03:00
Nikita Sobolev
ebcdf214f2
Update release-ci.yml 2022-02-05 01:12:16 +03:00
dependabot[bot]
cba4cbe487
Bump JamesIves/github-pages-deploy-action from 4.2.2 to 4.2.3 (#762)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.2.2...v4.2.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-05 01:06:35 +03:00
Nikita Sobolev
62ebb9b497
Update release-ci.yml 2022-02-05 01:04:45 +03:00
Nikita Sobolev
bd88b31585
Update release-ci.yml 2022-02-05 01:01:42 +03:00
Nikita Sobolev
0ea259187f
Update release-ci.yml 2022-02-05 00:59:05 +03:00
Nikita Sobolev
7db41789ea
Update release-ci.yml 2022-02-04 10:37:59 +03:00
Nikita Sobolev
722a28a975
Update test.yml (#764) 2022-02-01 23:10:31 +03:00
Nikita Sobolev
9cef8bb25f
Update test.yml 2022-01-31 18:23:56 +03:00
Nikita Sobolev
2e09ede9f7
Update release.yml 2022-01-31 18:23:41 +03:00
Nikita Sobolev
9b91d94c66
Update release-ci.yml 2022-01-31 18:23:19 +03:00
Nikita Sobolev
49406c62e9
Update github-pages.yml 2022-01-31 18:22:47 +03:00
Josh Rabinowitz
fcae9b828f
mention bats-core upgrade, fix grammar, move bug info to issue (#759)
* mention bats-core upgrade, fix grammar
* Update CHANGELOG.md
* move info about issue with ubuntu & brew to #760
* rephrase text
* more about interoperability and gnupg versions
2022-01-24 17:46:21 -05:00
Fanchen Bao
ab23658abb
Issue 675 update doc to use gpg in GitHub actions (#758)
* Update man file regarding git-secret usage in CI/CD

* Add issue number to changelog for the current modification

* Add quotation marks
2022-01-18 01:08:58 +03:00
joshr
5bce23ac87 move test to correct test file 2022-01-17 10:01:15 -05:00
Josh Rabinowitz
bf45916088
add test by Emily-RoseSteyn, for #636 (#757) 2022-01-17 09:54:18 -05:00
Josh Rabinowitz
b6711e2ac5
re-creation of #638 fix, removing dup email keys (#700)
* re-creation of #638 fix, removing dup email keys
* Update CHANGELOG.md
2022-01-17 09:43:33 -05:00
Nikita Sobolev
7814b8f2e7
Delete DIFF 2022-01-17 17:12:11 +03:00
joshr
e21c06a8e7 remove unneeded file 2022-01-17 08:59:04 -05:00
joshr
bc03f224a2 upgrade bats-core to v1.5.0, for #755 2022-01-17 08:58:05 -05:00
Josh Rabinowitz
626cfac075
add changelog entry for fix of #170 (#753)
Co-authored-by: joshr <joshr>
2022-01-16 19:52:10 +03:00
Josh Rabinowitz
84d1f85c56
fix for #710, using cat from a subdir (#751)
* fix for #710, using cat from a subdir
* also fix using reveal with named files from a subdir
2022-01-15 14:54:22 -05:00
dependabot[bot]
bd51b66743
Bump JamesIves/github-pages-deploy-action from 4.2.0 to 4.2.2 (#750)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.2.0...v4.2.2)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 17:19:38 +03:00
dependabot[bot]
9661bb6844
Bump JamesIves/github-pages-deploy-action from 4.1.9 to 4.2.0 (#748)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.9 to 4.2.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.9...4.2.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 18:38:39 +03:00
dependabot[bot]
7a62317386
Bump JamesIves/github-pages-deploy-action from 4.1.8 to 4.1.9 (#747)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.8...4.1.9)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 18:06:43 +03:00
dependabot[bot]
3a1998cae2
Bump debian from 11.1-slim to 11.2-slim in /.ci/docker-ci/debian-gnupg2 (#743)
Bumps debian from 11.1-slim to 11.2-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 19:52:08 +03:00
dependabot[bot]
9361c201c9
Bump debian from 11.1-slim to 11.2-slim in /.ci/docker-ci/debian-gnupg1 (#744)
Bumps debian from 11.1-slim to 11.2-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 19:52:01 +03:00
dependabot[bot]
739dcdfcdb
Bump debian from 11.1-slim to 11.2-slim in /.ci/release-ci/debian (#745)
Bumps debian from 11.1-slim to 11.2-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-27 19:51:54 +03:00
dependabot[bot]
b0c9f6347e
Bump JamesIves/github-pages-deploy-action from 4.1.6 to 4.1.8 (#740)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.6 to 4.1.8.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.6...4.1.8)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 17:33:22 +03:00
dependabot[bot]
62e7f0f791
Bump alpine from 3.14.3 to 3.15.0 in /.ci/releaser/alpine (#736)
Bumps alpine from 3.14.3 to 3.15.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:03:50 +03:00
dependabot[bot]
cb94c3f4fa
Bump alpine from 3.14.3 to 3.15.0 in /.ci/docker-ci/alpine (#737)
Bumps alpine from 3.14.3 to 3.15.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:03:42 +03:00
dependabot[bot]
de8675019e
Bump alpine from 3.14.3 to 3.15.0 in /.ci/release-ci/alpine (#738)
Bumps alpine from 3.14.3 to 3.15.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 18:03:33 +03:00
dependabot[bot]
d2205df9c8
Bump JamesIves/github-pages-deploy-action from 4.1.5 to 4.1.6 (#734)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.5...4.1.6)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 18:12:59 +03:00
dependabot[bot]
065f6dca05
Bump alpine from 3.14.2 to 3.14.3 in /.ci/release-ci/alpine (#731)
Bumps alpine from 3.14.2 to 3.14.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-15 18:23:34 +03:00
dependabot[bot]
89b0c2eb5d
Bump alpine from 3.14.2 to 3.14.3 in /.ci/docker-ci/alpine (#732)
Bumps alpine from 3.14.2 to 3.14.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-15 18:14:05 +03:00
dependabot[bot]
a769829ec1
Bump alpine from 3.14.2 to 3.14.3 in /.ci/releaser/alpine (#733)
Bumps alpine from 3.14.2 to 3.14.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-15 18:13:25 +03:00
dependabot[bot]
0e34ee3086
Bump fedora from 34 to 35 in /.ci/release-ci/fedora (#729)
Bumps fedora from 34 to 35.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 17:59:21 +03:00
dependabot[bot]
98201b1ab6
Bump fedora from 34 to 35 in /.ci/docker-ci/fedora (#730)
Bumps fedora from 34 to 35.

---
updated-dependencies:
- dependency-name: fedora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-08 17:59:13 +03:00
Benny Neugebauer
453009f081
Support spaces in shell path (#724)
* Support spaces in shell path

* Update Makefile

* Update Makefile

* Just use bash

* Just use bash in variable
2021-10-18 19:49:44 +03:00
dependabot[bot]
534e45f129
Bump debian from 11.0-slim to 11.1-slim in /.ci/docker-ci/debian-gnupg2 (#727)
Bumps debian from 11.0-slim to 11.1-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 18:39:52 +03:00
dependabot[bot]
ba193876f8
Bump debian from 11.0-slim to 11.1-slim in /.ci/docker-ci/debian-gnupg1 (#725)
Bumps debian from 11.0-slim to 11.1-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 18:39:43 +03:00
dependabot[bot]
befcb57f8b
Bump debian from 11.0-slim to 11.1-slim in /.ci/release-ci/debian (#726)
Bumps debian from 11.0-slim to 11.1-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 18:39:35 +03:00
Nikita Sobolev
56e105bd08
Removes git-secret job from make (#723)
Closes #722
2021-10-15 14:17:14 +03:00
dependabot[bot]
3b94a01434
Bump jekyll from 4.2.0 to 4.2.1 in /docs (#721)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 18:21:22 +03:00
Nikita Sobolev
05e3e2ecd5
Update FUNDING.yml 2021-09-15 17:34:06 +03:00
Bas Nijholt
03808496a9
fix typo 'fir' -> 'for' (#719) 2021-09-02 17:05:29 +03:00
dependabot[bot]
1cf66094af
Bump alpine from 3.14.1 to 3.14.2 in /.ci/releaser/alpine (#715)
Bumps alpine from 3.14.1 to 3.14.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 18:47:04 +03:00
dependabot[bot]
bc59e4711a
Bump alpine from 3.14.1 to 3.14.2 in /.ci/docker-ci/alpine (#716)
Bumps alpine from 3.14.1 to 3.14.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 18:46:54 +03:00
dependabot[bot]
bd085839eb
Bump alpine from 3.14.1 to 3.14.2 in /.ci/release-ci/alpine (#717)
Bumps alpine from 3.14.1 to 3.14.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 18:46:45 +03:00
dependabot[bot]
9265716bd4
Bump JamesIves/github-pages-deploy-action from 4.1.4 to 4.1.5 (#714)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.4...4.1.5)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 18:09:33 +03:00
dependabot[bot]
8d02f04690
Bump debian from 10.10-slim to 11.0-slim in /.ci/docker-ci/debian-gnupg2 (#713)
Bumps debian from 10.10-slim to 11.0-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 18:48:04 +03:00
dependabot[bot]
001bb8cafc
Bump debian from 10.10-slim to 11.0-slim in /.ci/docker-ci/debian-gnupg1 (#712)
Bumps debian from 10.10-slim to 11.0-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 18:47:56 +03:00
dependabot[bot]
52d95be34a
Bump debian from 10.10-slim to 11.0-slim in /.ci/release-ci/debian (#711)
Bumps debian from 10.10-slim to 11.0-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 18:47:48 +03:00
Nikita Sobolev
13071f1a96
Update README.md 2021-08-14 15:37:42 +03:00
dependabot[bot]
fb68278c1b
Bump alpine from 3.14.0 to 3.14.1 in /.ci/docker-ci/alpine (#709)
Bumps alpine from 3.14.0 to 3.14.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 17:43:18 +03:00
dependabot[bot]
841eb0b11b
Bump alpine from 3.14.0 to 3.14.1 in /.ci/release-ci/alpine (#708)
Bumps alpine from 3.14.0 to 3.14.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 17:43:10 +03:00
dependabot[bot]
f50e8df438
Bump alpine from 3.14.0 to 3.14.1 in /.ci/releaser/alpine (#707)
Bumps alpine from 3.14.0 to 3.14.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 17:42:54 +03:00
CRECO
7e8187d986
fix(readme): fix installation section link (#704) 2021-07-30 11:23:30 +03:00
dependabot[bot]
3d47f261c5
Bump addressable from 2.7.0 to 2.8.0 in /docs (#703)
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 22:47:22 +03:00
Nikita Sobolev
ec26b8bb30
Update Dockerfile (#698) 2021-06-28 21:06:32 +03:00
dependabot[bot]
065075574d
Bump debian from 10.9-slim to 10.10-slim in /.ci/docker-ci/debian-gnupg1 (#693)
Bumps debian from 10.9-slim to 10.10-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 21:00:13 +03:00
Nikita Sobolev
ae82ff5fd6
Update release-ci.yml 2021-06-28 20:59:01 +03:00
dependabot[bot]
3c2177e860
Bump debian from 10.9-slim to 10.10-slim in /.ci/docker-ci/debian-gnupg2 (#694)
Bumps debian from 10.9-slim to 10.10-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 20:57:09 +03:00
dependabot[bot]
23ddebc758
Bump debian from 10.9-slim to 10.10-slim in /.ci/release-ci/debian (#696)
Bumps debian from 10.9-slim to 10.10-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 20:55:33 +03:00
Nikita Sobolev
c820870cc8
Ignores *.1 and *.7 files, closes #690 (#691)
* Ignores `*.1` and `*.7` files, closes #690

* Now adds `*.1` files to test them
2021-06-26 17:35:55 +03:00
sobolevn
0bcce87422
Closes #618 2021-06-26 17:17:37 +03:00
sobolevn
d79b5597f6
Closes #420 2021-06-26 16:58:27 +03:00
sobolevn
b65673cb4c
Closes #168 2021-06-26 16:36:29 +03:00
Josh Rabinowitz
23acae1265
Issue 630 hide armored2 (#661)
* use gpg --armor when hiding/encrypting files

* update changelog

* Adds SECRETS_GPG_ARMOR env variable

* Fixes lint

* One more test

* Addresses review

Co-authored-by: sobolevn <mail@sobolevn.me>
2021-06-26 16:24:26 +03:00
Josh Rabinowitz
bcf1e4fa6b
bump version to 0.4.1-alpha1 (#689) 2021-06-24 09:55:07 +03:00
Pedro Sobota
ac3b77a5bc
Newline not added to .gitignore entry on add (#645)
* Fix Newline not added to .gitignore entry on add (#643)
* Updates to CHANGELOG.md
* Add tests
2021-06-23 18:31:26 -04:00
dependabot[bot]
7a285d79ac
Bump alpine from 3.13 to 3.14.0 in /.ci/release-ci/alpine (#687)
Bumps alpine from 3.13 to 3.14.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 22:55:14 +03:00
dependabot[bot]
2dbc389521
Bump alpine from 3.13 to 3.14.0 in /.ci/docker-ci/alpine (#688)
Bumps alpine from 3.13 to 3.14.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 22:37:34 +03:00
dependabot[bot]
5875a2d19e
Bump alpine from 3.13 to 3.14.0 in /.ci/releaser/alpine (#686)
Bumps alpine from 3.13 to 3.14.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 22:37:18 +03:00
Jeppe Fihl-Pearson
fae00fac3d
Rename killperson to removeperson (#685)
* Rename the "killperson" command to "removeperson"

"killperson" is unnecessarily hostile so change the command name to
"removeperson".

Fixes #684.

* Re-generate man pages

* Update contribution guide

There's no longer any pre-commit hooks so don't mention them.

* Add alias from `killperson` pointing at `removeperson`

* Update git_secret_removeperson.sh

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-06-16 10:31:58 +03:00
Nikita Sobolev
18428aebc3
Update github-pages.yml 2021-06-10 00:46:27 +03:00
srvreeswijk
6c3ff18bb9
fixed documentation for armor option (#682)
* fixed documentation for armor option
2021-06-09 13:15:23 -04:00
Ben van B
79f82164ef
[GH-678] Add no-cache option to apk installation. (#679) 2021-06-07 21:42:24 +03:00
Nikita Sobolev
2114fc6e7c
Update release-ci.yml 2021-06-07 11:59:44 +03:00
dependabot[bot]
246d371bc8
Bump JamesIves/github-pages-deploy-action from 4.1.3 to 4.1.4 (#677)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.3...4.1.4)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 11:29:38 +03:00
dependabot[bot]
aafa23d03a
Bump JamesIves/github-pages-deploy-action from 4.1.1 to 4.1.3 (#671)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.1.1 to 4.1.3.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/4.1.1...4.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 12:02:12 +03:00
Nikita Sobolev
0f60ca673a
Create dependabot.yml 2021-05-20 11:40:49 +03:00
dependabot[bot]
c12816346f
Bump kramdown from 2.3.0 to 2.3.1 in /docs (#669)
Bumps [kramdown](https://github.com/gettalong/kramdown) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/gettalong/kramdown/releases)
- [Changelog](https://github.com/gettalong/kramdown/blob/master/doc/news.page)
- [Commits](https://github.com/gettalong/kramdown/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 10:52:04 +03:00
Nikita Sobolev
2434f2111b
Update github-pages.yml 2021-05-19 10:46:56 +03:00
Nikita Sobolev
8c5d5dd3eb
Update test.yml 2021-05-19 10:46:35 +03:00
dependabot[bot]
e779a95df9
Bump rexml from 3.2.3 to 3.2.5 in /docs (#668)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.3 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.3...v3.2.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 10:42:48 +03:00
Nikita Sobolev
0c51a90c7b
Update github-pages.yml 2021-05-13 22:17:41 +03:00
Nikita Sobolev
3fb5e6194e
Update github-pages.yml 2021-05-12 20:17:54 +03:00
Mikulas Tomanka
8b5e39b026
fix missing hyphens in some of the git-secret command mentions (#667)
* fix missing hyphens in some of the git-secret command mentions

* don't modify tests
2021-05-12 18:27:40 +03:00
Nikita Sobolev
77cf6835b6 Updating formatting to trigger the CI 2021-05-08 14:00:37 -04:00
Josh Rabinowitz
78f278a765 add line to Changelog 2021-05-08 14:00:15 -04:00
Josh Rabinowitz
85084b8aa0 fix for hide -P 2021-05-08 14:00:06 -04:00
Nikita Sobolev
ef63e88965
Update README.md 2021-05-08 12:15:43 +03:00
Nikita Sobolev
8a1151930f
Update README.md 2021-05-08 12:14:27 +03:00
sobolevn
1bd304fdf6
Version 0.4.0 release 2021-05-06 19:42:54 +03:00
sobolevn
b0ef8ce6f4
Version 0.4.0 release 2021-05-06 19:18:13 +03:00
sobolevn
d554c0109b
Version 0.4.0 release 2021-05-06 18:52:35 +03:00
sobolevn
e81a401f38
Updates CONTRIBUTING.md 2021-05-06 18:29:52 +03:00
sobolevn
77013fa47f
Version 0.4.0 release 2021-05-06 17:49:44 +03:00
sobolevn
adce5a5d61
Version 0.4.0 release 2021-05-06 15:48:16 +03:00
sobolevn
f0935ecdf9
Fixes github release 2021-05-06 15:42:50 +03:00
sobolevn
7ee22fc248
Fixes alpine build 2021-05-06 15:32:57 +03:00
sobolevn
18051667fb
Fixes release script on github 2021-05-06 15:28:54 +03:00
sobolevn
1db41e5f33
Debugging deploy 2021-05-06 15:24:05 +03:00
sobolevn
2390edf60e
Debugging deploy 2021-05-06 15:22:54 +03:00
sobolevn
eb31d25b5f
Debugging deploy 2021-05-06 15:19:42 +03:00
sobolevn
f469657c32
Proper release pipeline 2021-05-06 15:06:40 +03:00
sobolevn
7cca40de8d
Version 0.4.0 release 2021-05-06 14:57:39 +03:00
sobolevn
6a9a86c502
Adds github release creation 2021-05-06 14:51:06 +03:00
sobolevn
058c2cdba9
Ignoring docs/_includes/install-*.sh 2021-05-06 13:42:14 +03:00
sobolevn
c7ea3d0ec7
Fixes docs, ignoring docs/_includes/install-*.sh 2021-05-06 13:40:27 +03:00
sobolevn
d2b9184f19
Fixes alpine releases, refs #659 2021-05-06 13:16:48 +03:00
sobolevn
11daa7fa8f
Adds _posts/ to .gitignore, builds them with make build-docs 2021-05-06 11:35:32 +03:00
sobolevn
295a4eeb4f
Removes old posts, fixes installation docs 2021-05-06 11:34:30 +03:00
sobolevn
d49ad2a013
Fixes man build on release 2021-05-05 20:12:42 +03:00
sobolevn
5b5b353d4c
Adds release script 2021-05-05 20:11:37 +03:00
sobolevn
5cfcad9a47
Centos runs on root 2021-05-05 16:17:20 +03:00
sobolevn
f65d76d551
Fixes centos install 2021-05-05 16:10:23 +03:00
sobolevn
5e264fa99e
Fixes release-ci 2021-05-05 16:03:27 +03:00
sobolevn
5f976c7de0
Fixes release-ci 2021-05-05 16:02:09 +03:00
Nikita Sobolev
19941f91f4
Adds release-ci script to test installation (#664)
* Adds release-ci script to test installation

* Fixes CI

* Fixes CI

* Renames some variables to follow the same SECRETS_ convention
2021-05-05 15:59:28 +03:00
sobolevn
fcf25ff546
Fixes docs 2021-05-04 22:15:36 +03:00
sobolevn
0662e147ed
Fixes installation docs 2021-05-04 22:06:40 +03:00
Nikita Sobolev
37a28389d2
Adds new installation instructions for deb and rpm (#662)
* Adds new installation instructions for deb and rpm

* Fixes CI
2021-05-04 21:58:36 +03:00
sobolevn
6294262692
Fixes docs deploy 2021-05-04 13:06:16 +03:00
sobolevn
aa70062ff2 Simplifies man build 2021-05-04 13:01:41 +03:00
sobolevn
ca500fa13f Changes how docs are built 2021-05-04 13:01:41 +03:00
sobolevn
ce73d9d43c No idea how windows works, removed 2021-05-04 13:01:41 +03:00
sobolevn
49c308c26c Fixes Windows build 2021-05-04 13:01:41 +03:00
sobolevn
17fd5ff3ab Trying out windows CI 2021-05-04 13:01:41 +03:00
sobolevn
5fc8ecbdde Adds hadolint, re-enables shellcheck 2021-05-04 13:01:41 +03:00
sobolevn
9e5174636a Updates changelog 2021-05-04 13:01:41 +03:00
sobolevn
2bdb4e4f84 Adds osx tests and gnupg1 2021-05-04 13:01:41 +03:00
sobolevn
e52038b786 Fixes docs generation and improves docs 2021-05-04 13:01:41 +03:00
sobolevn
a342993dd6 Adds new manual generation process 2021-05-04 13:01:41 +03:00
sobolevn
5dae68ca0a Adds centos tests 2021-05-04 13:01:41 +03:00
sobolevn
28dbdf3fde Adds fedora testing 2021-05-04 13:01:41 +03:00
sobolevn
9efae709db Adds alpine tests 2021-05-04 13:01:41 +03:00
sobolevn
22d994c372 Adds alpine tests 2021-05-04 13:01:41 +03:00
sobolevn
38e72e7b05 Adds ubuntu testing 2021-05-04 13:01:41 +03:00
sobolevn
edf822d30b Fixes lint action 2021-05-04 13:01:41 +03:00
sobolevn
6be7bdc1d3 Adds lint 2021-05-04 13:01:41 +03:00
sobolevn
8f7b9c51de [WIP] New CI 2021-05-04 13:01:41 +03:00
Mathias Pius Damm-Pedersen
4dca9f3701
Add security disclaimer for git-secret-killperson specifying what is and is not readable by a user after having been removed from the repository's keyring (#654)
* Closes #653

Add security disclaimer for git-secret-killperson specifying what is and is not readable by a user after having been removed from the repository's keyring

* Document addition of disclaimer in changelog
2021-04-14 16:38:07 +03:00
Nikita Sobolev
ed5f9cd4d7
Update JamesIves/github-pages-deploy-action
This should also fix gh-pages deploy
2021-04-14 12:31:19 +03:00
Nikita Sobolev
70aa6a4352
Fixes markup 2021-04-14 12:27:11 +03:00
Nikita Sobolev
234c884777
Fixes markup 2021-04-14 12:24:40 +03:00
Josh Rabinowitz
ee592b8ede
Issue 634 tell duplicate emails (#637)
* support asserting named keyring is missing email(s)
* improve error if git-secret keyring missing email
* new test for telling same email twice
* update tell manpage regarding duplicate emails
* regenerate man pages
* update changelog
2021-01-17 09:24:33 -05:00
Josh Rabinowitz
a6d74bab4c
Update CHANGELOG.md
moved item in changelog to correct place
2020-12-15 16:10:20 -05:00
Josh Smailes
eafd3fc531
Issue548 gh pages in master (#616)
* Migrate docs to master branch, add action to deploy to pages branch on push

* Update docs, build pipeline to reflect new method of updating gh-pages

* Removed make build-gh-pages from post-commit hook

Co-authored-by: Josh Rabinowitz <joshr@joshr.com>
2020-12-15 18:49:51 +03:00
Josh Rabinowitz
58501a0cda Merge branch 'master' of github.com:sobolevn/git-secret 2020-11-23 12:19:22 -05:00
Josh Rabinowitz
a40477ca80 more documentation about contributing and releases 2020-11-23 12:19:05 -05:00
Sasha Friedenberg
39ab72f866
add bash string escaping to _add_ignored_file (#626) 2020-11-21 22:37:58 +03:00
Gergely Gombos
44be48d568
Edit Fedora package URL (#625) 2020-11-21 10:30:53 +03:00
Josh Rabinowitz
5bcaf40c4c update version to 0.3.3 2020-11-19 13:33:44 -05:00
Josh Rabinowitz
8e46f64171 prepare for new release 2020-11-19 13:29:46 -05:00
Nikita Sobolev
8ea97c53f1
Update misspell.yml 2020-11-17 10:11:24 +03:00
Josh Rabinowitz
06a04306c2 update man pages 2020-10-04 15:20:24 -04:00
Bertjan Broeksema
fc51d6f15f
More precise feedback about added files (#614)
* More precise feedback about added files

This adapts the output of the add command in order to report exactly
how many files have been added. Specially with wildcard patterns, this
makes it easier to verify that expected files are added.

With the verbose option, the add command will also tell which files
have been added.

By @bbroeksema bbroeksema
2020-10-04 15:19:56 -04:00
Elisei Roca
282c36d5eb
make "usage" message easier to read (#617) 2020-10-02 16:02:33 -04:00
Isen
17b5c424f9
Add cygwin support (#601) 2020-09-21 10:22:16 -04:00
Josh Rabinowitz
4e02c1fe4b reorder osx tests so non-debug is first 2020-09-20 15:17:21 -04:00
Josh Rabinowitz
41af0d4c9e Merge branch 'master' of github.com:sobolevn/git-secret 2020-09-20 15:14:49 -04:00
Josh Rabinowitz
332a9b4794
Issue 603 docs part3 (#612)
* update man pages for changes to git-secret.7
* update changelog for doc changes
2020-09-20 14:56:16 -04:00
Josh Rabinowitz
2c7dae696c Merge branch 'master' of github.com:sobolevn/git-secret 2020-09-20 14:49:27 -04:00
teutates
71f7891d88
Improve docs wording, formatting, fixes #603 part 2 (#606)
* Improve docs wording, formatting, fixes #603
2020-09-20 14:46:48 -04:00
Josh Rabinowitz
599a344644
disable ubuntu targets 2020-09-20 14:05:35 -04:00
Josh Rabinowitz
ee6e917f37 Merge branch 'master' of github.com:sobolevn/git-secret 2020-09-20 12:28:26 -04:00
Josh Rabinowitz
bdc3560897
Issue 607 fix expired test key (#608)
* updated fixture key for user3, fixes #607
* update tests/fixtures/gpg/README.md
* mention fix of #607 and #609 in changelog
* use shellcheck 0.7.1, not 'latest' for #609
2020-09-20 09:21:13 -04:00
Nikita Sobolev
fb1aa1742b
Fixes ShellCheck download URL, refs #597 2020-06-26 19:44:31 +03:00
Nikita Sobolev
12241f150b
Create misspell.yml 2020-05-22 19:39:08 +03:00
Josh Rabinowitz
6bc56d94df Merge remote-tracking branch 'dist/master' 2020-03-07 14:18:21 -05:00
Josh Rabinowitz
a0a176fa5d
Issue 552 508 revoked keys (#553)
* warn about 'tell' on expired/revoked/invalid keys
* error if 'tell' used on email with multiple keys
* improve test of 'tell' with subdirs
2020-03-07 14:07:03 -05:00
Josh Rabinowitz
10ad7858e6 Merge remote-tracking branch 'dist/master' 2020-02-07 15:53:01 -05:00
Josh Rabinowitz
3fdcd9de27
Issue 575 changelog (#581)
* update CHANGELOG for #577
2020-01-29 18:54:07 -05:00
joshr
0f5d5cd492 Merge remote-tracking branch 'dist/master' 2020-01-29 08:27:07 -05:00
Aymeric Bouzy
dbe04c78b6
Documentation gpg + CI/CD (#577)
* update documentation
2020-01-29 08:26:25 -05:00
Josh Rabinowitz
2830ce2ff7
Issue 579 reveal clobbers (#580)
* Don't let reveal clobber secret files, for #579
2020-01-24 17:04:02 -05:00
joshr
5b74d5789b Merge remote-tracking branch 'dist/master' 2020-01-17 06:04:11 -05:00
Josh Rabinowitz
84aaf28784
Use "bundle list", not "bundle show" and disable alpine tests (#570)
* use 'bundle list', not 'bundle show'
* disable alpine tests because of #569
2020-01-08 11:42:53 -05:00
Josh Rabinowitz
f14804254c
Upgrade ansible to 2.9.2 (#571)
* upgrade ansible to 2.9.2
* Temporarily disable alpine builds because of #569
2020-01-08 10:15:22 -05:00
Josh Rabinowitz
bf905106dc Merge branch 'master' of github.com:joshrabinowitz/git-secret 2020-01-04 11:59:58 -05:00
Roy Verrips
1b345c4707 Add animated GIF preview of the asciinema recording and link on README.md (#560) 2019-11-14 06:17:09 -05:00
Nikita Sobolev
235a73af36
Update README.md 2019-11-04 15:28:28 +03:00
Josh Rabinowitz
9348cd32e2
Revert "Issue 554 show gpg commands (#556)" (#559)
This reverts commit 9e8438236c.
2019-10-09 14:05:31 -04:00
Josh Rabinowitz
9e8438236c
Issue 554 show gpg commands (#556)
* show most gpg commands used for 'hide', 'reveal', 'tell' and 'killperson (#554)
* fix hang when using ctrl-c during tests (#558)
2019-10-09 13:39:59 -04:00
Josh Rabinowitz
c5b815c7db bump to v0.3.2 2019-09-21 09:11:24 -04:00
Josh Rabinowitz
8b9feaa662
put version in man pages, update man page dates, fix version mention (#545)
* put version in man pages and fix version mention
* update dates in man pages
2019-09-20 13:05:06 -04:00
Josh Rabinowitz
c1ac63a60e
update docs regarding builds, setup, and docker (#543)
* update developer docs regarding builds, setup, and docker
* more details about git hooks, PRs, and branch names
* add links, corrections, clarifications, and typo fixes
* link to semver.org
* reorder packages and mention homebrew package
2019-09-20 10:57:32 -04:00
Josh Rabinowitz
e4447e02a7 version bump to 0.3.1 2019-09-18 17:17:22 -04:00
Josh Rabinowitz
4c57873e44 update changelog and man pages 2019-09-18 17:11:56 -04:00
Josh Rabinowitz
d5096614cc update man pages and changelog 2019-09-18 16:56:42 -04:00
Josh Rabinowitz
df192b8fd7
version bump to 0.3.0 (#539) 2019-09-18 14:07:56 -04:00
Josh Rabinowitz
a27b8b90fb
attribute change in changelog to #536 (#538) 2019-09-17 07:02:07 -04:00
Josh Rabinowitz
9ff962740b
Issue 536 backward compat docs (#537)
* Document that 0.2.3 mapping.cfg format isn't backward compatible
* Note update to 0.2.3 portion of changelog
2019-09-16 16:22:59 -04:00
Nikita Sobolev
4db1cf2679
Create FUNDING.yml 2019-09-12 16:11:59 +03:00
Josh Rabinowitz
399237955f
update changelog (#533) 2019-09-07 08:35:54 -04:00
Josh Rabinowitz
2a1600f2f6
cleanup output when we clean up tmp files (#532)
* cleanup output when we clean up tmp files
2019-09-07 00:10:45 -04:00
Josh Rabinowitz
525305d985
Issue 527 key with comment (#528)
* add key fixture with no email, and 2 word comment
* tests for key without email and with comment
* handle comments in public key uids
* fix tests, you have to use email address
* fix text
* confirm that email addresses contain an @ symbol
* improve comments about keys/fixtures
2019-09-06 20:21:50 -04:00
Josh Rabinowitz
fe2232305d
don't cleanup tempfile unless it exists (#531) 2019-09-06 16:20:30 -04:00
Nikita Sobolev
109326cbc3
Updates sponsor info 2019-09-04 00:07:01 +03:00
Josh Rabinowitz
68b64f4aac
make correction to comments (#525) 2019-08-30 13:17:53 -04:00
Josh Rabinowitz
9ff559ca8c
Issue 478 tests in busybox (#523)
* use busybox by not installing coreutils on alpine
* changes for busybox version of ps and stat
* add function to check if exe is from busybox
* update changelog
* cleanup comments, code, and commented out code
* improve comment in alpine Dockerfile
* include platform-specific funcs so we can test perms
2019-08-30 09:35:47 -04:00
Josh Rabinowitz
e16d505e78
Issue 493 linux deps2 (#519)
* add dependencies for rpm, deb, apk packages
* update to CHANGELOG
2019-08-21 17:39:39 -04:00
Josh Rabinowitz
95b5b320fc
Issue 516 verbose on errors (#518)
* add error info on errors listing keys
* move bash $TMPDIR initialization earlier
* show gpg output if hide encryption fails
* update changelog
* fix typos
* improve messaging when reveal and tell are done
* simplify logic, fix typo in error message
2019-08-21 12:45:28 -04:00
Josh Rabinowitz
701497df9d
Fix hangs when interrupting tests on OSX (#522)
* close fd 3 on gnupg subprocesses, for bats-core
* update changelog
2019-08-21 11:18:15 -04:00
Josh Rabinowitz
0faad68032
Optimize (#517)
* small optimization, update to changelog
2019-08-20 11:46:07 -04:00
Josh Rabinowitz
a3d21d2e15
Revert "don't use revoked gpg uid" (#514)
* Revert "don't use revoked gpg uid (#492)"

This reverts commit ae38e0242d.

* revert changelog
2019-08-18 13:13:53 -04:00
Josh Rabinowitz
b6ad293c0b Merge remote-tracking branch 'dist/master' 2019-08-18 10:05:10 -04:00
Josh Rabinowitz
589f2ff77e
Fedora cleanup (#513)
* don't install unneeded package
2019-08-18 09:12:16 -04:00
Josh Rabinowitz
1cd77a6067 Merge remote-tracking branch 'dist/master' 2019-08-18 08:31:12 -04:00
Josh Rabinowitz
b7741a0ade
Issue487 fedora buids (#511)
* use python3 and pip3

* upgrade to ansible 2.8.4

* set ansible_python_interpreter

* fix: enable debian sources when haven't found them

* updates to changelog
2019-08-18 03:40:16 -04:00
Josh Rabinowitz
1c8029cff0 re-enable tests on fedora systems 2019-08-17 19:24:53 -04:00
Josh Rabinowitz
99b36b2b52
Changelog update3 (#507)
* update Changelog
2019-08-17 09:32:47 -04:00
bricewge
ae38e0242d don't use revoked gpg uid (#492)
Checks gnupg validity value doesn't show key as revoked.
2019-08-17 08:37:40 -04:00
Josh Rabinowitz
b68dacc98b
when tests ask for gnupg1, use gnupg1, not gnupg2 (#506) 2019-08-17 07:12:31 -04:00
Josh Rabinowitz
54ce590e26
Add note about secrets and old keys (#499)
* Add note about secrets and old keys
2019-08-16 21:33:15 -04:00
Josh Rabinowitz
49fa952e68
Always use OSX's mktemp on OSX. (#486) 2019-08-16 20:11:16 -04:00
Josh Rabinowitz
baf6c4113b
Add SECRETS_PINENTRY env var and docs (#490)
* Add SECRETS_PINENTRY env var 

* add docs and tests for SECRETS_PINENTRY

* improve diagnostic output

* fix regex example for bats-core diagnostics
2019-08-16 16:53:57 -04:00
Josh Rabinowitz
bb4b61c2c4
make rsync a build requirement on debian (#501)
* make rsync a build requirement on Debian
* re-enable debian tests on travis
2019-08-16 12:42:06 -04:00
Josh Rabinowitz
c21221c23a
disable tests on fedora and debian temporarily (#505) 2019-08-16 11:51:05 -04:00
Josh Rabinowitz
28675d6461
version bump to 0.2.6 (#482) 2019-05-26 22:33:00 -04:00
Josh Rabinowitz
666f2167c1
Changelog updates (#481) 2019-05-26 11:40:18 -04:00
Josh Rabinowitz
f2c398f037
fix for busybox mktemp (#480)
* fix for busybox mktemp, issue #475
2019-05-26 09:46:08 -04:00
Josh Rabinowitz
10fa2a7be2
Tempfile and temp directory cleanups (#473)
* Tempfile and temp directory cleanups
    Add comments about mktemp on different platforms
    Be more careful about tempfile cleanups
    Don't use find to locate files to cleanup
    Use shorter SECRETS_EXTENSION and SECRETS_DIR env settings in tests
    Set TMPDIR in tests again
    Show DESTDIR used when testing git-secret install
    Change filename passed to mktemp -t in tests
2019-05-21 12:06:51 -04:00
Josh Rabinowitz
c20e61313b
Issue 454 freebsd (#474)
* freebsd test fix
2019-05-19 14:01:49 -04:00
Simon Massey
10879e2253
fix for git secret hide -m doesn't work on first use #466 (#469) 2019-05-09 06:23:02 +01:00
Simon Massey
57903b9e75
replace grep+cut+sed pipe with awk regex (#462) 2019-05-01 21:07:03 +01:00
Josh Rabinowitz
aec3ac1ae2
Add note about writing tests. Fix typo. (#471)
Also use affect, not effect, as appropriate.
2019-04-29 18:21:30 -04:00
Simon Massey
2164e822d2
remove dead code for keys/mapping.cfg (#464) 2019-04-29 20:36:08 +01:00
Simon Massey
78287b7b98
git secret hide docs warns about -F but not -m behaviour #467 (#468) 2019-04-29 06:56:34 +01:00
Josh Rabinowitz
05421347ff
Merge pull request #463 from sobolevn/improve_assert_keychain_contains_emails
break loop when email found in keyring
2019-04-28 12:13:43 -04:00
Josh Rabinowitz
c65766924b
Merge branch 'master' into improve_assert_keychain_contains_emails 2019-04-28 09:48:47 -04:00
Josh Rabinowitz
ee8938c512
Merge pull request #461 from sobolevn/simbo1905-patch-1
missing word in CONTRIBUTING.md
2019-04-28 09:48:35 -04:00
Simon Massey
0e4e432727 break loop when email found in keyrig 2019-04-27 22:21:06 +01:00
Simon Massey
8ed0f21635
missing word 2019-04-27 21:35:23 +01:00
Josh Rabinowitz
44a8745e02
remove duplicate test (#458) 2019-04-01 15:00:42 -04:00
Josh Rabinowitz
bbb4d9d3e5
Tmp cleanups (#457)
* Only show 'cleaning up temp file' messages if one
  of SECRETS_VERBOSE or SECRETS_TEST_VERBOSE is set.
* Adjust tests to reflect the change.
* Add note about suppressing 'cleaning up' msgs to CHANGELOG.md and reorder entries
* add comments showing examples of tmpfiles returned
2019-04-01 12:53:19 -04:00
Josh Rabinowitz
24bfc86b74
Fail on extra params (#448)
* fail if user passes unexpected filenames or unknown params
* mention fix of #390
2019-03-30 20:13:54 -04:00
Josh Rabinowitz
2341d1433b
Temp dir fixes (#449)
* perform our test install into TMPDIR
* fix typo
* remove duplicate entry in CHANGELOG.md
* improve commenting
2019-03-29 18:11:52 -04:00
Josh Rabinowitz
cb1636a6dc
experimental SECRETS_TEST_VERBOSE shows debug info during tests (#446)
* add a travis target using SECRETS_TEST_VERBOSE=1
* Document SECRETS_TEST_VERBOSE as experimental
* note experimental feature may change or be removed
2019-03-28 07:41:07 -04:00
Josh Rabinowitz
fc85d05fc0
Use /tmp/subdir for testing, not /tmp. (#442) 2019-03-27 01:10:07 -04:00
Josh Rabinowitz
f6d4de1adf
Use git check-ignore (#440)
* improve how we check for ignored files using 'git check-ignore'
* mention use of git check-ignore in changelog
* don't mkdir/rmdir when testing for ignored files
2019-03-25 15:00:46 -04:00
Josh Rabinowitz
8334d7beef
Reveal verbose (#447)
* add -v option to reveal, for #395
* update reveal man page
* shellcheck exception
* changelog update for 'reveal -v'
2019-03-25 11:37:24 -04:00
Josh Rabinowitz
07af0c19b6
Varnames output and typos (#441)
* rename variable, fix typo, improve comments and output
* fix directory removal after testing
* mention improved user messaging in CHANGELOG.md
2019-03-23 19:48:08 -04:00
Josh Rabinowitz
be88da4c0c
test 'DESTDIR=/dir/here make install' support (#438) 2019-03-21 21:32:36 -04:00
Josh Rabinowitz
4bcf6c054a
respect DESTDIR as per GNU/debian/etc (#437) 2019-03-21 16:10:13 -04:00
Josh Rabinowitz
ec4232faec
Update to mention git-secret packaging in Fedora (#436) 2019-03-20 23:04:14 -04:00
Gergely Gombos
dd02a6f657 Update readme - add Fedora package link (#434) 2019-03-20 20:55:22 -04:00
Josh Rabinowitz
ce8c6b3ae0
Change 'add' to add to .gitignore by default. (#429)
* Change 'add' to add to .gitignore by default.
Also add _message() function and improve output from 'git-secret-add',
alter tests for new code behavior, and update docs.
* change tests since 'add' always adds to .gitignore
* improve output: prepend more message with 'git-secret:'.
* update man page for git-secret-add
2019-03-20 08:03:28 -04:00
Josh Rabinowitz
71f3d3a4ac
Make sure we name temp files 'git-secret-*' (#428)
* pass mktemp a template on linux
* name tempfiles git_secret, not gitsecrets
2019-03-17 19:32:42 -04:00
Josh Rabinowitz
8737bdb26c
show full commands, including args, in Makefile (#422)
* show full commands, including args, run from Makefile
 As per recommendations at https://wiki.debian.org/UpstreamGuide
2019-03-17 16:54:35 -04:00
Simon Massey
6a93549179
Automate the GitHub release (#411) 2019-03-17 16:23:34 +00:00
Josh Rabinowitz
70fd1bcd80
Revert "Re enable testing on travis windows (#423)" (#425)
This reverts commit 9b83d9cee6.
2019-03-15 13:29:25 -04:00
Josh Rabinowitz
9b83d9cee6
Re enable testing on travis windows (#423)
* re-enable testing on windows with travis
* add diagnostic/debug output
2019-03-15 12:06:52 -04:00
Josh Rabinowitz
7a730e4a4f
do lint/shellcheck tests on travis mac builds (#415)
* perform lint/shellcheck tests on travis mac builds
* move osx builds first in travis
* install shellcheck on macos
* show if the lint test passed or failed
* don't have travis install ruby 2.6 on osx for now
2019-03-12 15:41:54 -04:00
Josh Rabinowitz
3c4f00922b
disable windows travis test because of #409 (#410)
Windows travis tests disabled because they work on
PRs but not on master.
2019-03-09 21:27:38 -05:00
Josh Rabinowitz
f68a56ecd8
Add to changelog, rename function, add comment. (#408) 2019-03-09 20:12:45 -05:00
Jonas Karlsson
54f74ede6a Fix for windows (#375)
* add test for travis-ci windows support
* Make 'ps' command options platform specific *nix/windows
* Add _clean_path for windows,  apply to all homedir input arguments
* export GITSECRET_DIST="windows" in git hook if running windows
* Bash lint fixes
2019-03-09 18:49:45 -05:00
Josh Rabinowitz
8adb7d5741
Revert "use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)" (#405)
This reverts commit a2a9bd32ba.
2019-03-09 13:14:44 -05:00
Josh Rabinowitz
a2a9bd32ba
use pgrep & kill $pid, not ps+gawk+regex+system+kill (#400)
* use pgrep & kill, not ps+gawk+regex+system+kill
* install shellcheck and enable lint on macos/brew.
* add shellcheck fixes and exception
* reorder CHANGELOG entries
2019-03-09 10:14:47 -05:00
Josh Rabinowitz
792226c624
Categorize each CHANGELOG.md entry by type (#401)
* categorize entries as Feature/Fix/Doc/Test/Build
* filled in CHANGELOG.md for initial release 0.1.0
* use section headers as suggested by @sobolevn
2019-03-08 09:33:02 -05:00
Josh Rabinowitz
52b46ae700
Add docs for SECRETS_VERBOSE, env vars (#398) 2019-03-07 20:25:06 -05:00
Josh Rabinowitz
22fe1ed2d4
Add support for SECRETS_VERBOSE env var (#393)
* Support SECRETS_VERBOSE env var in addition to -v
* don't use --quiet when decrypting in verbose mode
* show output of gpg encryption in verbose mode
* add tests for SECRETS_VERBOSE env var set to 0 and 1
* update changelog, reorder entries.
* add tests for 'cat' and 'hide' with SECRETS_VERBOSE=1
2019-03-07 17:46:51 -05:00
Josh Rabinowitz
c4331693f3
use 'kill', not 'kill -9' (#379) 2019-03-07 15:17:51 -05:00
Josh Rabinowitz
cdad4aba37
Add man page header, for debian lintian (#392)
* Add man page header, for debian lintian
* update man/man7/git-secret.7 to match .ronn
2019-03-06 17:01:59 -05:00
Josh Rabinowitz
faa03c7380
alter changelog for fix of #389 (#391) 2019-03-05 22:01:13 -05:00
Josh Rabinowitz
bab5c739ff
Use SECRETS_GPG_COMMAND in gpg version check (#389)
Closes #388
2019-03-05 16:51:59 -05:00
Josh Rabinowitz
b1d3cb99c5
remove deprecated git-secret.plugin.zsh (#387) 2019-03-05 15:05:35 -05:00
Josh Rabinowitz
7b06b25c0a
Respect secrets dir on init, and document (#366)
* respect SECRETS_DIR and SECRETS_EXTENSION in tests
* add line regarding fixes to CHANGELOG.md
* test with non-standard SECRETS_EXTENSION
* Add details about init, mention SECRETS_EXTENSION in init page
* update git-secret-init man page
2019-03-05 08:41:13 -05:00
Josh Rabinowitz
e2754adebe
Doc changes 2019 02 for #351 (#353)
* clarification about killperson and secrets, rephrasing.
* how to develop without docker/test-kitchen
* doc changes about gh-pages branch. other clarifications.
* OSX has been renamed MacOS (except in travis-ci)
2019-03-05 07:09:27 -05:00
Josh Rabinowitz
5360384085
Import bats core (#380)
* bats-core v1.1.0 imported
* target 'install-test' removed from Makefile
* info re: bats-core import added in vendor/bats-core/README.md
2019-03-04 18:52:53 -05:00
Josh Rabinowitz
505cb1fe42 have lint target run shellcheck over tests (closes #373)
* have lint target run shellcheck over tests

* lint and fix tests/ since shellcheck knows bats

* lint and fix tests/ since shellcheck knows bats

* revert debug output

* changes for shellcheck

* revert unintended change

  [tests/_test_base.bash]

* use 'local' for user/filename vars, not 'export'

* add note about Shellcheck and tests/

* local can only be used in functions - use export

* restore shbang edited in error
2019-03-04 17:40:35 +03:00
Josh Rabinowitz
ae465c0142
Upgrade bats core (#371)
* upgrade bats-core to v1.1.0, note in CHANGELOG.md
2019-03-02 12:03:17 -05:00
Josh Rabinowitz
6188d14539
Documentation additions about code style and philosophy (#361)
* code style in CONTRIBUTING.md and PR template
* make link to CONTRIBUTING.md in .github/PULL_REQUEST_TEMPLATE.md
* mention shellcheck and 'make lint'
* mention that you should update CHANGELOG.md 
* mention spellchecking with aspell
* more spelling fixes
* add to CHANGELOG about style guide/dev philosophy
* remind contributors to update .ronn file/man page
2019-02-21 18:04:23 -05:00
Josh Rabinowitz
83b03b61bc
Aspell fixes (#365)
* spellcheck fixes from aspell
2019-02-21 15:20:34 -05:00
Josh Rabinowitz
9778d20791
track recent changes to git-secret (#363) 2019-02-21 13:01:58 -05:00
Flávio Caetano
9e9803d561 add secret files pattern to .gitignore on init (#359) 2019-02-20 00:10:18 +03:00
Josh Rabinowitz
3dfc4d4fff
use '--all' with 'git add' as per git messages (#354) 2019-02-18 10:30:17 -05:00
Josh Rabinowitz
a9599cc56b
remove temp dir, fix typo (#356)
Closes #347
2019-02-11 16:33:59 -05:00
Josh Rabinowitz
8ed4f46de6
fix test under git hook (#349)
* fix test under git hook. Actually closes #334
2019-02-11 09:05:16 -05:00
Josh Rabinowitz
5a28744c5d
Fix for tests under bats, fix typos, mention #334 (#342)
* fix test under githooks, fix typos, mention #334 as relevant
2019-02-10 16:44:21 -05:00
Josh Rabinowitz
26ecd390d6
Fix link to contributors on github. (#332) 2019-01-28 07:16:49 -05:00
Josh Rabinowitz
e34248fdc1
remove diagnostic output from tests (#329) 2019-01-27 18:06:18 -05:00
Josh Rabinowitz
f820bd39e0
record change from pr #325 (#327) 2019-01-27 16:17:51 -05:00
krufab
dc564d90ce Removed unneded redirection of path_mappings (#326) 2019-01-27 10:29:25 -05:00
Josh Rabinowitz
65fe4c4127
Add verbose option to 'git secret tell' showing output of key imports (#321)
* add 'git secret tell -v' option to show output of key imports
* add tests for tell with/without -v
* remove unneeded test code and bats diagnostic output
2019-01-26 22:59:13 -05:00
Josh Rabinowitz
6e43cd310f
remove unused functions (#313)
* remove unused functions
* Note that we removed unused functions in CHANGELOG.md
2019-01-24 11:57:07 -05:00
Josh Rabinowitz
1bf0fe1c47
fix link to homebrew, update CHANGELOG.md
* fix link to homebrew
* note fixes of #310 and #311 in CHANGELOG.md
2019-01-17 09:18:55 -05:00
Josh Rabinowitz
94d5ae43d1
bump version to 0.2.5 (#297) 2019-01-15 08:35:11 -05:00
Josh Rabinowitz
28e3a9b1c2
added notes about packages and for package maintainers (#301)
* added notes about packages and for package maintainers
* document how git tags interact with deb/rpm deploys
* fix typos
2019-01-14 23:16:41 -05:00
Josh Rabinowitz
711a6889c3
travis-ci changes: remove ansible v2.3, fix brew build issue
* remove ansible avm v2.3 pip install
* work around perlbrew/build issue #305 with 'brew update' before installs
2019-01-11 10:14:22 -05:00
Samar Dhwoj Acharya
2047a0f11b fix link to contributors (#304)
* fix link to contributors

* fix link to contributors
2019-01-07 12:35:36 +03:00
Josh Rabinowitz
7210865863
PR template: new branches should be from master (#299) 2019-01-06 16:08:07 -05:00
Carlos Hernandez
bcef774735
Merge pull request #303 from hurricanehrndz/master
Fixing issues with bundler
2019-01-04 16:32:21 -07:00
Carlos Hernandez
6fe8dbff2b
Disable gnupg-git test on debian strech, gpg >=2.2.12 requires libassuan
>= 2.5.0
2019-01-04 15:50:59 -07:00
Carlos Hernandez
cccaa252d7
Fix git builds 2019-01-04 14:53:13 -07:00
Carlos Hernandez
90c7126269
Disable centos test. Enable ubuntu 18.04 test 2019-01-04 12:35:25 -07:00
Carlos Hernandez
1d5fdd3031
Fixing issue #302 2019-01-04 10:08:58 -07:00
Carlos Hernandez
048040dd3c
Fix bundler 2.0 issues: https://docs.travis-ci.com/user/languages/ruby/ 2019-01-04 09:30:59 -07:00
Josh Rabinowitz
4aa7dd2896
reorder entries, add note #291 being fixed (#295) 2019-01-03 12:43:45 -05:00
Josh Rabinowitz
913d026537
Fixes for 'changes' and trailing newlines, for #291 (#293)
* tests and comments about 'changes' for #291
* add 'changes' tests, improve diagnostic 
* preserve trailing newlines in diff output
* use bash trickery to preserve trailing newlines in captured text
* test 'changes' on files without newlines and when called on a non-existant file
* improve comments and variable names
2019-01-01 09:37:11 -05:00
Josh Rabinowitz
14eea46cc9 CHANGELOG.md updates in prep of 0.2.5 release (#278) 2018-12-16 20:49:19 +03:00
Josh Rabinowitz
9cccf162c6 WIP: test with expired key, add 'whoknows -l' (#287)
* test with expired key, add 'whoknows -l'

    * 'whoknows -l' shows key expiration dates
    * also added docs and tests for `whoknows -l`,
    * tests for expired keys,
    * epoch_to_date functions

* update man pages

* fix epoch-to-date conversion on OSX

* test output of 'whoknows -l'

* fix for lint/shellcheck

* fix for osx

* lint fix

* use date as found in $PATH

* disable 'set -e' as little as possible
2018-12-05 09:43:48 +03:00
Josh Rabinowitz
74f8a07166
improve testing regarding expired keys and keys with only email addresses (#262)
* test that hiding secret with expired key fails
* add test of user key without username.
* revert to performing most tests with 'user1'.
* move user4 private/public key fixtures
* factor code fetching emails from keyrings, add comments.
* use factored _warn_or_abort()
* add to, clean up, and clarify comments.
2018-12-01 08:48:09 -05:00
Josh Rabinowitz
337010c625
only increment count of hidden files for hidden files (#282) 2018-11-30 18:09:02 -05:00
Tyler
7dd6177e28 small word fix. (#273) 2018-10-27 09:53:16 +03:00
Josh Rabinowitz
4a3877b486
WIP: Force mode for hide and reveal (#263)
* -F (force even if gpg fails) option for hide and reveal
* allow 'reveal' to decrypt a subset of files.
* update and regen man pages
* man pages update and improvements
* text about why all files should be hidden at once
* add _warn() and _warn_or_abort()
* tests for -F option
* glob source .sh files in Makefile better
* add comment about issue #238. cleanup error msg.
* test exact case in #253
* disable gnupg doc building on ubuntu-rolling
2018-10-10 21:21:58 -04:00
Nikita Sobolev
239c2b63dc
Fixes GNUPG doc links 2018-09-28 11:20:40 +03:00
Nikita Sobolev
d8eff64a0b
Oops, one more fix to the default branch docs
Refs #254
2018-09-28 11:19:39 +03:00
Nikita Sobolev
19a4928580
Fixes default branch misuse
Refs #254

We still need to update the release process information.
2018-09-28 11:18:10 +03:00
Josh Rabinowitz
9e975e4eed make sure email addresses used with 'tell' and 'killperson' exist in keyring (#267)
* name keys after emails, not usernames

* use emails to specify users

* rename and add function to get emails from keyrings
* rename directories holding gpg test fixtures

* deny emails that aren't in the keyring, and test.

* require 'killperson' emails to exist in keyring

* change test to reflect killperson must use email

* remove no-longer-needed test function

* factor function _assert_keychain_contains_emais()

* fix/make lint happy
2018-09-26 00:08:44 +03:00
Josh Rabinowitz
6251fae396 support FreeBSD (#260)
* start FreeBSD support

* permissions change

* improve command to fetch permissions.

* note we use 'shasum' and not 'sha256sum' on osx and freebsd
2018-09-22 23:08:21 +03:00
Josh Rabinowitz
168fe8cd9b
Merge pull request #256 from joshrabinowitz/remove-extra-debug-output
remove diagnostic debug output
2018-09-07 15:28:05 -07:00
Josh Rabinowitz
2adc7dd609
Merge branch 'master' into remove-extra-debug-output 2018-09-07 14:02:21 -07:00
Josh Rabinowitz
898b93b864
Merge pull request #257 from joshrabinowitz/shellcheck-fix
Fixes for new shellcheck error SC2236
2018-09-07 14:02:06 -07:00
joshr
2383e1fe67 use '-n', not '! -z', as per shellcheck SC2236 2018-09-07 16:09:08 -04:00
joshr
4c2c9a9719 remove diagnostic debug output 2018-09-07 15:48:19 -04:00
Josh Rabinowitz
f334b9bd34
Merge pull request #251 from joshrabinowitz/secrets-dir-docs-tests-250
Secrets dir docs and tests for #250
2018-08-26 17:05:51 -04:00
joshr
9e7bc916a6 fix typo 2018-08-26 13:29:15 -04:00
joshr
0696a7621b Merge branch 'secrets-dir-docs-tests-250' of github.com:joshrabinowitz/git-secret into secrets-dir-docs-tests-250 2018-08-26 13:27:41 -04:00
joshr
6d5f01d3f3 update man pages 2018-08-26 13:26:15 -04:00
joshr
1bf031448f update ronn pages to mention SECRETS_DIR env var. 2018-08-26 13:26:07 -04:00
joshr
4e35af2fce set non-default SECRETS_DIR 2018-08-25 10:12:48 -04:00
joshr
6eedaab489 rename test to show SECRETS_DIR. add debug output. 2018-08-25 10:05:48 -04:00
joshr
d670178150 export SECRETS_DIR to default value 2018-08-25 10:05:17 -04:00
joshr
2287b3e54e test that $_SECRETS_DIR is set as expected 2018-08-25 09:58:12 -04:00
joshr
d3e120e9a6 set SECRETS_DIR env var to non-default value 2018-08-25 08:16:54 -04:00
joshr
4dd04a06e0 comment out old debug code 2018-08-25 08:14:14 -04:00
joshr
481d750af4 comment about SECRETS_DIR 2018-08-24 11:19:15 -04:00
joshr
5a00250da9 add comments about SECRETS_DIR environment variable 2018-08-24 11:18:40 -04:00
Josh Rabinowitz
a085d2d9c5
Merge pull request #245 from joshrabinowitz/file-perms-172
add -P (preserve permission) option to reveal and hide. For #172
2018-08-21 12:27:05 -04:00
joshr
1ea3b3139d clarify comment for devs regarding bats TAP diagnostic output 2018-08-18 10:34:48 -04:00
joshr
5d5392232b remove debug code 2018-08-18 10:31:57 -04:00
joshr
41fdf8b2e4 update man pages 2018-08-18 10:27:55 -04:00
joshr
645fc2370e change preserve option from -C to -P 2018-08-18 10:09:58 -04:00
joshr
fc9f4878a1 document -C in .ronn files and fix synopsis of 'git secret hide' 2018-08-18 09:58:51 -04:00
joshr
afec23fb17 add test for -C option. fix typos in comments. 2018-08-18 09:17:05 -04:00
joshr
835fe80d8f set permissions when hiding files. change option to -C. 2018-08-18 09:16:50 -04:00
joshr
84c9502015 Merge branch 'master' into file-perms-172 2018-08-18 08:43:47 -04:00
Luis Rascão
80e4908471 Allow per-command configuration of custom secrets dir (#247)
Typical use case is when you want different people to have access
to some files and other people access to other different files.
2018-08-18 12:59:07 +03:00
Josh Rabinowitz
6e216072fb
Merge branch 'master' into file-perms-172 2018-07-27 10:33:04 -04:00
Simon Massey
b504facc5d
Build fixes for Alpine latest (#246)
* trying alpine

* Make directory /usr/local/src/ for Alpine based distros

* fixes some alpine issue

* move gem install etc to its own task

* moved gem install etc for alphine into dependencies

* reenabling all ci tests

* typo fix as per review

* clarity around doc build disable being gnupg docs

* commit about ignoring non-zero return value
2018-07-24 17:51:02 +01:00
joshr
a090bbddac fix 2018-07-22 23:16:01 -04:00
joshr
cfdca85469 fixes, use _get_encrypted_filename, show TAP diag output 2018-07-22 23:13:12 -04:00
joshr
eb528df301 test permissions 2018-07-22 22:43:37 -04:00
joshr
d73e1081be cleanup 2018-07-22 22:43:06 -04:00
joshr
a86e6ec552 remove unused code 2018-07-22 22:41:57 -04:00
joshr
505428f837 quoting fixes 2018-07-22 22:41:32 -04:00
joshr
2a1a8cb58b fixes for lint and typo 2018-07-22 21:41:04 -04:00
joshr
fda5a0ad21 fixes and debug for 'reveal -c' option 2018-07-22 21:29:01 -04:00
joshr
ffc50acd6a add os-based versions of get_octal_perms 2018-07-22 21:28:33 -04:00
joshr
2e7d6a12a5 add -c (preserve permission) option to reveal. For #172 2018-07-22 16:13:06 -04:00
Josh Rabinowitz
bbcd50e563
Merge pull request #242 from joshrabinowitz/gnupg-links
provide links to gnupg PDF documentation and DETAILS file
2018-07-17 15:27:13 -04:00
Josh Rabinowitz
997ac5ce0e
Merge branch 'master' into gnupg-links 2018-07-17 12:02:31 -04:00
Josh Rabinowitz
246825c658
fix for keys with only emails, and no usernames. Closes #227 (#240)
* test and fix for keys with only emails, and no usernames. Closes #227
2018-07-17 12:01:16 -04:00
joshr
6abdd4523d provide links to gnupg PDF documentation and DETAILS file 2018-07-17 10:26:06 -04:00
Josh Rabinowitz
d5c138ab60
Merge pull request #239 from joshrabinowitz/spaces-in-filenames
Spaces in filenames
2018-07-16 11:57:27 -04:00
joshr
f2eec71995 corrected comment about how to output diagnostic messages 2018-07-14 19:28:05 -04:00
joshr
9906dfb33f show any diagnostics that might come out of bats tests.
also adds comment about diagnostic messages in bats.
2018-07-14 15:23:39 -04:00
joshr
c141fd4492 test with filenames with spaces 2018-07-14 15:23:17 -04:00
joshr
7096499465 fix quoting for files with spaces. use filenames from _test_base.bats 2018-07-14 15:21:41 -04:00
joshr
5c639cf8e7 fixes for filenames with spaces
_list_all_added_files() now sets 'filenames' var, and
fixed quoting when updating hashes.
2018-07-14 15:19:47 -04:00
joshr
bb2253af8a remove debug code, see #237 2018-07-14 15:19:11 -04:00
joshr
b2f00fd32c fixes for filenames with spaces
quoting improvements, and
_list_all_added_files() now sets a global 'filenames' array.
2018-07-14 15:17:27 -04:00
Josh Rabinowitz
e515eb8f10
Merge pull request #231 from joshrabinowitz/hide-in-subdir
fix for issue #230 (git secret hide fails in subdir). Also disables builds on alpine-latest for #232
2018-07-13 10:32:32 -04:00
joshr
826dfeb5d4 remove unneeded code 2018-07-13 08:24:30 -04:00
joshr
142944c575 disable travis-ci tests on alpine-latest 2018-07-13 07:38:24 -04:00
joshr
7648e2f604 cleanup 2018-07-12 10:22:36 -04:00
joshr
a7eaa6013c fix for issue #230, when git-secret is run in subdir of repo 2018-07-12 09:52:19 -04:00
joshr
2b28271d8b create a test displaying issue #230 2018-07-12 09:46:49 -04:00
Josh Rabinowitz
4797c990d0
Merge pull request #224 from joshrabinowitz/spaces-in-path
allow spaces in path
2018-07-03 08:02:47 -04:00
joshr
b6c1b4a695 test in a dir with spaces 2018-06-30 16:33:07 -04:00
joshr
4b847298ef restore unquoted variable and comment about it. shellcheck tweak. 2018-06-30 16:20:24 -04:00
joshr
71d503009a run in a dir without spaces 2018-06-30 16:11:19 -04:00
joshr
65a7118d25 restore small optimizations. quote variable for shellcheck. 2018-06-30 16:00:53 -04:00
joshr
adc522a9d3 allow spaces in path
for issue #135, regarding spaces in pathnames
2018-06-30 15:38:46 -04:00
Josh Rabinowitz
79a1c45aeb
Merge pull request #222 from joshrabinowitz/clarify-add-docs
Clarify that 'git-secret-add' doesn't alter .gitignore by default
2018-06-30 11:36:36 -04:00
Simon Massey
1f2fb99a0a
Full stop changed to comma 2018-06-30 15:19:14 +01:00
Josh Rabinowitz
99f2229038 mention 'add' has an option, and that each command has options 2018-06-30 09:54:23 -04:00
Josh Rabinowitz
31e5528fac Clarify that 'git-secret-add' doesn't alter .gitignore by default 2018-06-28 13:14:41 -04:00
Josh Rabinowitz
5ff1afe33b
Merge pull request #218 from joshrabinowitz/fix-typos
fix typos
2018-06-21 11:45:32 -04:00
Josh Rabinowitz
492d705e02 fix more typos 2018-06-21 08:56:30 -04:00
Josh Rabinowitz
28377b138c fix typos 2018-06-21 08:21:52 -04:00
Josh Rabinowitz
fe1681aeb5
Merge pull request #217 from joshrabinowitz/bats-core-shallow-clone
optimize git checkout of v1.0.2 tag of bats-core
2018-06-21 08:17:14 -04:00
Josh Rabinowitz
71d89f5daf optimize git checkout of v1.0.2 tag of bats-core 2018-06-21 07:45:05 -04:00
Josh Rabinowitz
84f4a65adc
Merge pull request #216 from joshrabinowitz/bats-core5
for testing, use bats-core v1.0.2, not bats
2018-06-21 06:20:43 -04:00
Josh Rabinowitz
27bd3f469c fix paths for remaining Makefile targets 2018-06-20 11:12:03 -04:00
Josh Rabinowitz
5d97c66e90 for testing, use bats-core v1.0.2, not bats 2018-06-20 09:56:25 -04:00
Simon Massey
460e5c3281
travis osx (#214) 2018-06-20 14:05:01 +01:00
Simon Massey
ece047890c
Deploy from "v.*" tag and all branches (#212) 2018-06-20 07:11:36 +01:00
Josh Rabinowitz
4c0b2d867a
Merge pull request #210 from sobolevn/revert-206-bats-core4
Revert "migrate from bats to bats-core (redux)"
2018-06-19 10:36:32 -04:00
Josh Rabinowitz
553eae53f7
Revert "migrate from bats to bats-core (redux)" 2018-06-19 09:22:56 -04:00
Simon Massey
5e578fff96
Merge pull request #207 from sobolevn/RFC001
RFC 0001 A stable and forwards compatible public key storage format
2018-06-15 13:22:16 +01:00
Simon Massey
2fde6c0068 final final, finally 2018-06-15 08:55:33 +01:00
Simon Massey
2cef2a337f final 2018-06-14 23:15:46 +01:00
Simon Massey
1127892252 final 2018-06-14 23:08:39 +01:00
Simon Massey
7dc7c0d24a status review 2018-06-14 22:43:57 +01:00
Simon Massey
6a7e0aada1 formatting 2018-06-14 22:43:08 +01:00
Simon Massey
a7d181190e updates to the design 2018-06-14 22:41:50 +01:00
Simon Massey
ad663a7561 mention that forward compatibility will be added later 2018-06-14 11:18:07 +01:00
Simon Massey
ab3265d4b0 typo 2018-06-14 11:15:17 +01:00
Simon Massey
71750a3db2 first draft 2018-06-14 11:05:30 +01:00
Josh Rabinowitz
b85cc04010
Merge pull request #205 from joshrabinowitz/gpg-error-checking
more careful error checking running gpg
2018-06-13 16:46:56 -04:00
Josh Rabinowitz
6c585ed33e
Merge branch 'master' into gpg-error-checking 2018-06-13 15:31:37 -04:00
Josh Rabinowitz
078cd3c82d
Merge pull request #206 from joshrabinowitz/bats-core4
migrate from bats to bats-core (redux)
2018-06-13 15:31:20 -04:00
Josh Rabinowitz
1552e22a11 more consistent error messages 2018-06-13 14:32:15 -04:00
Josh Rabinowitz
73c81747cc fix indentation 2018-06-13 14:03:30 -04:00
Josh Rabinowitz
bde7a3ca90 migrate from bats to bats-core (redux) 2018-06-13 12:03:25 -04:00
Josh Rabinowitz
f0040b0887
Merge branch 'master' into gpg-error-checking 2018-06-12 17:24:21 -04:00
Josh Rabinowitz
2333610c32
Merge pull request #200 from joshrabinowitz/docs
Docs
2018-06-12 17:24:04 -04:00
joshr
332aa1f5d5 fix typo 2018-06-12 16:19:50 -04:00
Josh Rabinowitz
ab58461f8e more error checking around decryption 2018-06-12 15:35:33 -04:00
Josh Rabinowitz
b268ddf226 more careful error checking running gpg 2018-06-12 15:27:02 -04:00
Josh Rabinowitz
cb93e20fbf
Merge branch 'master' into docs 2018-06-12 14:46:54 -04:00
Josh Rabinowitz
5873865899
Merge pull request #203 from sobolevn/revert-193-bats-core3
Revert "migrate from bats to bats-core "
2018-06-12 14:38:03 -04:00
Josh Rabinowitz
86bdaf8702 regenerate man page 2018-06-12 12:09:43 -04:00
Josh Rabinowitz
860afe0e83 text change as per PR commants 2018-06-12 12:08:00 -04:00
Josh Rabinowitz
bfa3015394
Revert "migrate from bats to bats-core " 2018-06-12 11:24:47 -04:00
Josh Rabinowitz
9a23e588c7
Merge branch 'master' into docs 2018-06-11 08:10:14 -04:00
Josh Rabinowitz
3aa923f03c fix typos, regenerate man pages 2018-06-11 08:07:03 -04:00
Simon Massey
3eb06b8e31
Merge pull request #199 from sobolevn/issue185
Steps to get CI builds running on macOS
2018-06-11 08:02:54 +01:00
simbo1905
1045c2a71e Steps to get CI builds running on macOS 2018-06-10 21:06:47 +01:00
Josh Rabinowitz
c3434683ef more about gnupg, and .gitsecret contents. whitespace changes. 2018-06-10 10:05:49 -04:00
Josh Rabinowitz
dec31f016e
Merge pull request #196 from joshrabinowitz/changelog-update
CHANGELOG.md updates
2018-06-10 09:24:22 -04:00
joshr
93e7dac2af CHANGELOG.md updates 2018-06-10 08:36:04 -04:00
Josh Rabinowitz
4a45f8091d
Merge pull request #193 from joshrabinowitz/bats-core3
migrate from bats to bats-core
2018-06-09 17:19:59 -04:00
joshr
84f9605519 use bats-core 2018-06-09 08:15:32 -04:00
joshr
ce70cbbd72 fix typo 2018-06-09 08:15:17 -04:00
Simon Massey
dc57c4285f
Merge pull request #191 from simbo1905/master
rpm skip_cleanup: true
2018-06-09 12:30:51 +01:00
Simon Massey
1b8a8e7a6e
rpm skip_cleanup: true 2018-06-09 10:58:26 +01:00
Simon Massey
71fcc22a51 Man pages (#188)
* deploy skip_cleanup: true

* need to deploy when '! -z KITCHEN_REGEXP'

* rsync missing on gnupg1-ubuntu-latest

* fixes missing man pages on gnupg2-ubuntu-rolling

* replace yum with dnf

* ansible comments out dpkg.cfg.d excludes path-exclude=/usr/share/man/.*

* gem 'rspec'

* Install rspec in /usr/local/bin for RedHat based distros

* whitespace in Gemfile.
2018-06-09 07:55:50 +03:00
Nikita Sobolev
c328723f2b
Removes duplicate git version, closes #177 [ci skip] 2018-05-10 22:05:21 +03:00
Josh Rabinowitz
dff1aaf924
Merge pull request #170 from joshrabinowitz/detect-gpg-error-136
Detect gpg error 136
2018-04-25 06:42:15 -04:00
joshr
75c5ea168c fix 2018-04-24 08:27:29 -04:00
joshr
5ab26e6707 improve messaging, add comment 2018-04-24 08:24:40 -04:00
joshr
1d32cd0650 check that gpg -n --list-keys reported no error 2018-04-24 08:09:27 -04:00
joshr
8233f3a1de Merge branch 'master' into detect-gpg-error-136 2018-04-24 07:58:32 -04:00
joshr
4661b725df abort if unable to decrypt hidden file 2018-04-24 07:57:13 -04:00
Josh Rabinowitz
d92390b118
Merge pull request #167 from joshrabinowitz/deploy-dists-120
set GITSECRET_DIST once per gpg source/distribution type combination
2018-04-22 16:00:12 -04:00
joshr
67788a9f05 fix 2018-04-22 09:26:59 -04:00
joshr
ae504a6035 one GITSECRET_DIST per gpg/type combination. 2018-04-22 09:18:48 -04:00
Josh Rabinowitz
c2081514d6 fixes for git secret changes (#160)
* fixes for git secret changes

check that we can find filenames passed on command line, and that
we can find the unencrypted versions of hidden files.

* new test

* add tests
2018-04-21 18:25:38 +03:00
Josh Rabinowitz
7884a51f18
Merge pull request #162 from joshrabinowitz/update-readme2
update changelog
2018-04-20 08:25:54 -04:00
joshr
ac1aad2984 update CHANGELOG 2018-04-19 11:57:00 -04:00
Josh Rabinowitz
07f471de93 Fix deploys (#161)
* set GITSECRET_DIST for bintray deploy

* add GITSECRET_DIST=rpm too

* set more GITSECRET_DIST vars
2018-04-19 09:28:28 +03:00
Josh Rabinowitz
deae0d1cd5 'git secret hide' without source files gives appropriate error (#158)
* don't hide files that don't exist decrypted.

and change related error message to 'file not found: filename'.

* ensure all source files are present before hiding

* test for 'add' while unencrypted file missing
2018-04-18 20:56:54 +03:00
Josh Rabinowitz
5572894af7
Merge pull request #156 from joshrabinowitz/add-tracked-file-126
improve error message when trying to 'git secret add' a file tracked by git
2018-04-18 09:25:33 -04:00
Josh Rabinowitz
52bbc20162
Merge branch 'master' into add-tracked-file-126 2018-04-17 18:09:43 -04:00
joshr
13170c313f check if file is tracked before adding
and tell user useful information in case they want to
hide a file that's tracked.
2018-04-17 18:00:18 -04:00
joshr
ffa89ceaa2 fix 2018-04-17 17:03:43 -04:00
Josh Rabinowitz
5b626fcb08
Merge pull request #155 from sobolevn/document-version2
document 'git secret --version'
2018-04-17 16:57:51 -04:00
joshr
a78e0172bc check that added files are not tracked by git 2018-04-17 15:53:40 -04:00
Josh Rabinowitz
97fa9e6e7b fix quoting and phrasing 2018-04-17 15:34:19 -04:00
Josh Rabinowitz
114f4c7c6c document git secret --version 2018-04-17 15:27:24 -04:00
Josh Rabinowitz
91492539ac
Merge pull request #149 from joshrabinowitz/improve-docs
Improve docs
2018-04-17 12:12:21 -04:00
joshr
fe0c9c71e7 fix typo and update man pages 2018-04-17 11:23:10 -04:00
joshr
ef5596aa42 improve CHANGELOG.md and git-secret man page 2018-04-17 11:20:01 -04:00
joshr
2bc42f2655 mention 'git secret list' not mapping.cfg in usage 2018-04-17 11:18:21 -04:00
joshr
55f2b83320 fix typo 2018-04-17 09:10:44 -04:00
joshr
8b2a1eab1d Merge branch 'master' into improve-docs 2018-04-17 08:42:44 -04:00
Nikita Sobolev
c5d2962744
Merge pull request #151 from joshrabinowitz/error-message-150
better error messages
2018-04-17 10:31:12 +03:00
joshr
43c80ad25c update changelog 2018-04-17 00:12:03 -04:00
joshr
277057fa3e improve documents and break long lines 2018-04-17 00:06:11 -04:00
joshr
76362aff53 improve text and break long lines 2018-04-16 23:43:57 -04:00
joshr
4766df2110 improve error messages
in add, killperson, remove, tell, and main
2018-04-16 22:52:06 -04:00
joshr
33adc19682 fix test to match _abort() output 2018-04-16 22:24:11 -04:00
joshr
0dc00367f9 improve message when .git exists but not .gitsecret 2018-04-16 21:58:32 -04:00
joshr
a4a8ea62ed better error messages 2018-04-16 21:50:28 -04:00
joshr
192cd71765 improve description 2018-04-16 21:26:30 -04:00
joshr
722892cc46 improve git-secret docs 2018-04-16 17:42:36 -04:00
joshr
e7abd660bc improve git secret usage output 2018-04-16 17:42:16 -04:00
Josh Rabinowitz
8f6b3876ac use 'git secret hide -d' in example 2018-04-16 16:14:34 -04:00
Josh Rabinowitz
6c29ed7eb7 fix typo 2018-04-16 16:11:36 -04:00
Josh Rabinowitz
b6d903b2a6 improve docs re: ignores & .gitsecret 2018-04-16 16:07:56 -04:00
Josh Rabinowitz
d216f91bd7
Merge pull request #148 from joshrabinowitz/small-fixes
fix typos and bug in test_cat.bats
2018-04-16 15:39:18 -04:00
Josh Rabinowitz
4783002a5f use ansible version 2.5.0 2018-04-16 13:59:28 -04:00
Josh Rabinowitz
78a072e881 Merge branch 'small-fixes' of github.com:joshrabinowitz/git-secret into small-fixes 2018-04-16 13:33:30 -04:00
Josh Rabinowitz
937a2c8d9d v2.5 fix error: 'failed to validate the SSL certificate for api.github.com:443'
that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
2018-04-16 13:30:21 -04:00
Josh Rabinowitz
e7653af7db fix error: 'failed to validate the SSL certificate for api.github.com:443'
that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
2018-04-16 13:20:42 -04:00
Josh Rabinowitz
884c6afc36 fix for python InsecurePlatformWarning error 2018-04-16 12:23:19 -04:00
Josh Rabinowitz
f8f3896486 refer to issue 141 and fix typos 2018-04-16 11:56:38 -04:00
Josh Rabinowitz
b626faf472 typos fixed 2018-04-16 11:05:50 -04:00
Nikita Sobolev
80797bcd46
Merge pull request #142 from joshrabinowitz/git-secret-cat
Git secret cat
2018-04-15 11:48:37 +03:00
Josh Rabinowitz
4a2f34c791 remove commented-out code 2018-04-14 16:37:36 -04:00
Josh Rabinowitz
cb64fb15a7 remove unneeded lines 2018-04-14 16:23:13 -04:00
Josh Rabinowitz
7b00d81ea7 change to test CI 2018-04-14 16:14:10 -04:00
Josh Rabinowitz
74e3404f36 ronn/man doc improvements 2018-04-14 16:07:20 -04:00
Josh Rabinowitz
5c5a49bc3b cleanup 2018-04-14 15:50:38 -04:00
Josh Rabinowitz
50b23c9739 fix 2018-04-14 10:05:27 -04:00
Josh Rabinowitz
900717707b TEMP Merge branch 'git-secret-cat' of github.com:joshrabinowitz/git-secret into git-secret-cat 2018-04-14 09:50:17 -04:00
Josh Rabinowitz
da69e0766e test cat with wrong filename 2018-04-14 09:44:02 -04:00
Josh Rabinowitz
8ce78b6a5b remove extra newline 2018-04-14 09:44:02 -04:00
Josh Rabinowitz
c760513e35 small grammar change, update,
fixes for linter errors about 'which'
For example:
    in utils/deb/deb-ci.sh line 27: 'which git-secret':
    SC2230: which is non-standard. Use builtin 'command -v' instead.
remove inoperative links
reflect code review input
add test for 'git secret cat'
restore sponsor links
2018-04-14 09:43:36 -04:00
Josh Rabinowitz
70e0fcda13 regenerated git-secret man pages 2018-04-14 09:43:36 -04:00
Josh Rabinowitz
612e34cce8 add git secret cat filename [filename2] feature.
ronn file for manpage
cleanup. Remove -f option.
bump version to 0.2.4
remove unused variable
add references to git secret cat in ronn docs.
git-secret-cat man page
2018-04-14 09:43:11 -04:00
Josh Rabinowitz
d5b1dd7829 test cat with wrong filename 2018-04-14 09:28:05 -04:00
Josh Rabinowitz
02e4bde64e better error checking 2018-04-14 09:27:55 -04:00
Josh Rabinowitz
c2936bf8f3 remove extra newline 2018-04-14 08:50:32 -04:00
Josh Rabinowitz
29b36ae3a8 remove unneeded code 2018-04-14 08:43:27 -04:00
Josh Rabinowitz
293446461f restore sponsor links 2018-04-14 08:41:12 -04:00
Josh Rabinowitz
50c9463763 add test for 'git secret cat' 2018-04-14 08:33:57 -04:00
Josh Rabinowitz
da55b56565 reflect code review input 2018-04-14 07:11:51 -04:00
Josh Rabinowitz
44bcfcd5bf remove inoperative links 2018-04-13 21:21:26 -04:00
Josh Rabinowitz
6dc50652c8 fixes for linter errors about 'which'
For example:

    in utils/deb/deb-ci.sh line 27: 'which git-secret':
    SC2230: which is non-standard. Use builtin 'command -v' instead.
2018-04-13 21:00:31 -04:00
Josh Rabinowitz
04b7c391b0 update 2018-04-13 20:37:07 -04:00
Josh Rabinowitz
28611a3b6e small grammar change 2018-04-13 20:36:33 -04:00
Josh Rabinowitz
da42b3aa2d regenerated git-secret man pages 2018-04-13 20:34:54 -04:00
Josh Rabinowitz
492f575848 git-secret-cat man page 2018-04-13 20:34:33 -04:00
Josh Rabinowitz
c0012a63e6 add references to git secret cat in ronn docs. 2018-04-13 20:18:13 -04:00
Josh Rabinowitz
badb0938d9 remove unused variable 2018-04-13 20:04:15 -04:00
Josh Rabinowitz
dc4c8d7284 bump version to 0.2.4 2018-04-13 20:02:16 -04:00
Josh Rabinowitz
85854df8fd cleanup. Remove -f option. 2018-04-13 19:40:09 -04:00
Josh Rabinowitz
50f5a9cf02 ronn file for manpage 2018-04-13 19:37:44 -04:00
Josh Rabinowitz
40c63e9960 add git secret cat filename [filename2] feature 2018-04-13 19:30:51 -04:00
Nikita Sobolev
c5ed5579f4
Merge pull request #140 from SCrusader/patch-1
Updated description of git-secret
2018-04-13 23:29:21 +03:00
SCrusader
ef4335a55a
Updated description of git-secret
Made the description more formal and emphasize on the name of the product, git-secret.
2018-03-27 19:26:57 -07:00
Nikita Sobolev
7ffa48f77a
Merge pull request #133 from lucca65/patch-1
Update version.sh
2018-03-12 22:17:53 +03:00
Julien Lucca
86fd972a67
Update version.sh
Version was not bumped after 0.2.3 release
2018-03-12 16:11:56 -03:00
Nikita Sobolev
1c0d12ff5d
Merge pull request #129 from neilkimmett/master
Replace 'his' with 'their'
2018-02-07 12:57:51 +03:00
Neil Kimmett
58c816cd68 Replace 'his' with 'their' 2018-02-07 09:42:08 +00:00
Nikita Sobolev
dc3b9a4bc6
Update README.md 2018-02-03 11:13:49 +03:00
Nikita Sobolev
75c0a7d639
Update README.md 2018-02-03 11:13:32 +03:00
Nikita Sobolev
1d3dda2649
Merge pull request #128 from opencollective/opencollective
Activating Open Collective
2018-02-03 11:13:10 +03:00
Jess
52ef0976e9 Added backers and sponsors on the README 2018-02-03 16:57:57 +09:00
Jess
1820bd163f Updated CONTRIBUTING.md (optional) 2018-02-03 16:57:14 +09:00
Jess
052e28082c Updated .github/ISSUE_TEMPLATE.md (optional) 2018-02-03 16:57:14 +09:00
Nikita Sobolev
faec094ef9
Update README.md 2018-01-28 10:34:53 +03:00
Nikita Sobolev
d488a9f731
Merge pull request #127 from ilovezfs/os_based_sha256
Make checksum command operating system based
2018-01-13 19:24:46 +03:00
ilovezfs
91d2876d23 Make checksum command operating system based 2018-01-13 05:33:41 -08:00
Nikita Sobolev
20af9c9a4c
Merge pull request #123 from yadavnikhil/master
Add support to run on Git Bash for Windows (MINGW) system.
2017-12-25 10:15:57 +03:00
NIKHILY
2f67e3efef Add support to run on Git Bash for Windows (MINGW) system. 2017-12-19 09:27:03 +05:30
481 changed files with 18430 additions and 3138 deletions

View File

@ -1,44 +0,0 @@
FROM alpine:latest
RUN apk add --no-cache --update \
bash \
build-base \
coreutils \
curl \
findutils \
gcc \
libffi-dev \
musl-dev \
net-tools \
openrc \
openssh \
openssh-server \
openssh-sftp-server \
openssl-dev \
py-boto \
py2-pip \
python2-dev \
rsyslog \
sudo \
xz \
&& pip install --upgrade pip \
&& if ! getent passwd <%= @username %>; then \
adduser -h /home/<%= @username %> -s /bin/bash -D <%= @username %>; \
passwd -d <%= @username %>; \
fi \
&& echo "<%= @username %> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \
&& echo "Defaults !requiretty" >> /etc/sudoers \
&& mkdir -p /home/<%= @username %>/.ssh \
&& chown -R <%= @username %> /home/<%= @username %>/.ssh \
&& chmod 0700 /home/<%= @username %>/.ssh \
&& echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys \
&& chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys \
&& chmod 0600 /home/<%= @username %>/.ssh/authorized_keys \
&& sed -ri 's/^#?PubkeyAuthentication\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?PasswordAuthentication\s+.*/PasswordAuthentication no/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?ChallengeResponseAuthentication\s+.*/ChallengeResponseAuthentication no/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?UsePrivilegeSeparation\s+.*/UsePrivilegeSeparation no/' /etc/ssh/sshd_config \
&& echo "UseDNS=no" >> /etc/ssh/sshd_config \
&& rc-update add sshd
EXPOSE 22

View File

@ -1,71 +0,0 @@
FROM centos:latest
ENV container="docker"
RUN yum clean all \
&& yum makecache \
&& yum install -y epel-release \
&& yum makecache \
&& yum install -y \
curl \
findutils \
gcc \
glibc-langpack-en.x86_64 \
libffi-devel \
net-tools \
openssh-server \
openssl-devel \
python2-devel \
python2-pip \
redhat-lsb \
redhat-rpm-config \
sudo \
systemd \
&& pip install --upgrade pip \
&& yum clean all \
&& if ! getent passwd <%= @username %>; then \
useradd -d /home/<%= @username %> -m -s /usr/bin/bash -p '*' <%= @username %>; \
fi \
&& echo "<%= @username %> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \
&& echo "Defaults !requiretty" >> /etc/sudoers \
&& mkdir -p /home/<%= @username %>/.ssh \
&& chown -R <%= @username %> /home/<%= @username %>/.ssh \
&& chmod 0700 /home/<%= @username %>/.ssh \
&& echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys \
&& chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys \
&& chmod 0600 /home/<%= @username %>/.ssh/authorized_keys \
&& export LANG="en_US.UTF-8" && echo "LANG=\"en_US.UTF-8\"" > /etc/locale.conf \
&& cd /lib/systemd/system/sysinit.target.wants/; ls | grep -v systemd-tmpfiles-setup | /usr/bin/xargs rm -f $1 \
&& /usr/bin/rm -f /lib/systemd/system/multi-user.target.wants/* \
&& /usr/bin/rm -f /etc/systemd/system/*.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/local-fs.target.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/sockets.target.wants/*udev* \
&& /usr/bin/rm -f /lib/systemd/system/sockets.target.wants/*initctl* \
&& /usr/bin/rm -f /lib/systemd/system/basic.target.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/anaconda.target.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/plymouth* \
&& /usr/bin/rm -f /lib/systemd/system/systemd-update-utmp* \
&& sed -ri 's/^#?PubkeyAuthentication\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?UsePrivilegeSeparation\s+.*/UsePrivilegeSeparation no/' /etc/ssh/sshd_config \
&& echo "UseDNS=no" >> /etc/ssh/sshd_config \
&& systemctl set-default multi-user.target \
&& ln -s /lib/systemd/system/sshd.service /etc/systemd/system/multi-user.target.wants/sshd.service \
&& ln -s /lib/systemd/system/systemd-journald.service /etc/systemd/system/multi-user.target.wants/systemd-journald.service \
&& echo $'[Unit]\
\nDescription=Finish boot up\
\nAfter=sshd.service\
\n\
\n[Service]\
\nType=oneshot\
\nRemainAfterExit=yes\
\nExecStartPre=/bin/sleep 3s\
\nExecStart=/bin/rm -f /run/nologin\
\n\
\n[Install]\
\nWantedBy=default.target' >> /etc/systemd/system/FinishBootUp.service \
&& ln -s /etc/systemd/system/FinishBootUp.service /etc/systemd/system/multi-user.target.wants/FinishBootUp.service
EXPOSE 22
VOLUME [ "/sys/fs/cgroup" ]

View File

@ -1,66 +0,0 @@
FROM debian:stable
ENV DEBIAN_FRONTEND="noninteractive" container="docker"
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
apt-utils \
curl \
locales \
lsb-release \
net-tools \
openssh-server \
python-pip \
python2.7 \
sudo \
systemd \
&& pip install --upgrade pip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& if ! getent passwd <%= @username %>; then \
useradd -d /home/<%= @username %> -m -s /bin/bash -p '*' <%= @username %>; \
fi \
&& echo "<%= @username %> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \
&& echo "Defaults !requiretty" >> /etc/sudoers \
&& mkdir -p /home/<%= @username %>/.ssh \
&& chown -R <%= @username %> /home/<%= @username %>/.ssh \
&& chmod 0700 /home/<%= @username %>/.ssh \
&& echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys \
&& chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys \
&& chmod 0600 /home/<%= @username %>/.ssh/authorized_keys \
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen \
&& cd /lib/systemd/system/sysinit.target.wants/; ls | grep -v systemd-tmpfiles-setup | /usr/bin/xargs rm -f $1 \
&& /bin/rm -f /lib/systemd/system/multi-user.target.wants/* \
&& /bin/rm -f /etc/systemd/system/*.wants/* \
&& /bin/rm -f /lib/systemd/system/local-fs.target.wants/* \
&& /bin/rm -f /lib/systemd/system/sockets.target.wants/*udev* \
&& /bin/rm -f /lib/systemd/system/sockets.target.wants/*initctl* \
&& /bin/rm -f /lib/systemd/system/basic.target.wants/* \
&& /bin/rm -f /lib/systemd/system/anaconda.target.wants/* \
&& /bin/rm -f /lib/systemd/system/plymouth* \
&& /bin/rm -f /lib/systemd/system/systemd-update-utmp* \
&& sed -ri 's/^#?UsePAM\s+.*/UsePAM no/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?PubkeyAuthentication\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?UsePrivilegeSeparation\s+.*/UsePrivilegeSeparation no/' /etc/ssh/sshd_config \
&& echo "UseDNS=no" >> /etc/ssh/sshd_config \
&& systemctl set-default multi-user.target \
&& ln -s /lib/systemd/system/ssh.service /etc/systemd/system/multi-user.target.wants/ssh.service \
&& ln -s /lib/systemd/system/systemd-journald.service /etc/systemd/system/multi-user.target.wants/systemd-journald.service \
&& echo $'[Unit]\
\nDescription=Finish boot up\
\nAfter=ssh.service\
\n\
\n[Service]\
\nType=oneshot\
\nRemainAfterExit=yes\
\nExecStartPre=/bin/sleep 3s\
\nExecStart=/bin/rm -f /run/nologin\
\n\
\n[Install]\
\nWantedBy=default.target' >> /etc/systemd/system/FinishBootUp.service \
&& ln -s /etc/systemd/system/FinishBootUp.service /etc/systemd/system/multi-user.target.wants/FinishBootUp.service
EXPOSE 22
VOLUME [ "/sys/fs/cgroup" ]

View File

@ -1,69 +0,0 @@
FROM fedora:latest
ENV container="docker"
RUN dnf clean all \
&& dnf makecache \
&& dnf install -y \
curl \
findutils \
gcc \
glibc-langpack-en.x86_64 \
libffi-devel \
net-tools \
openssh-server \
openssl-devel \
python2-devel \
python2-pip \
redhat-lsb \
redhat-rpm-config \
sudo \
systemd \
&& pip install --upgrade pip \
&& dnf clean all \
&& if ! getent passwd <%= @username %>; then \
useradd -d /home/<%= @username %> -m -s /usr/bin/bash -p '*' <%= @username %>; \
fi \
&& echo "<%= @username %> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \
&& echo "Defaults !requiretty" >> /etc/sudoers \
&& mkdir -p /home/<%= @username %>/.ssh \
&& chown -R <%= @username %> /home/<%= @username %>/.ssh \
&& chmod 0700 /home/<%= @username %>/.ssh \
&& echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys \
&& chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys \
&& chmod 0600 /home/<%= @username %>/.ssh/authorized_keys \
&& export LANG="en_US.UTF-8" && echo "LANG=\"en_US.UTF-8\"" > /etc/locale.conf \
&& cd /lib/systemd/system/sysinit.target.wants/; ls | grep -v systemd-tmpfiles-setup | /usr/bin/xargs rm -f $1 \
&& /usr/bin/rm -f /lib/systemd/system/multi-user.target.wants/* \
&& /usr/bin/rm -f /etc/systemd/system/*.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/local-fs.target.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/sockets.target.wants/*udev* \
&& /usr/bin/rm -f /lib/systemd/system/sockets.target.wants/*initctl* \
&& /usr/bin/rm -f /lib/systemd/system/basic.target.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/anaconda.target.wants/* \
&& /usr/bin/rm -f /lib/systemd/system/plymouth* \
&& /usr/bin/rm -f /lib/systemd/system/systemd-update-utmp* \
&& sed -ri 's/^#?PubkeyAuthentication\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?UsePrivilegeSeparation\s+.*/UsePrivilegeSeparation no/' /etc/ssh/sshd_config \
&& echo "UseDNS=no" >> /etc/ssh/sshd_config \
&& systemctl set-default multi-user.target \
&& ln -s /lib/systemd/system/sshd.service /etc/systemd/system/multi-user.target.wants/sshd.service \
&& ln -s /lib/systemd/system/systemd-journald.service /etc/systemd/system/multi-user.target.wants/systemd-journald.service \
&& echo $'[Unit]\
\nDescription=Finish boot up\
\nAfter=sshd.service\
\n\
\n[Service]\
\nType=oneshot\
\nRemainAfterExit=yes\
\nExecStartPre=/bin/sleep 3s\
\nExecStart=/bin/rm -f /run/nologin\
\n\
\n[Install]\
\nWantedBy=default.target' >> /etc/systemd/system/FinishBootUp.service \
&& ln -s /etc/systemd/system/FinishBootUp.service /etc/systemd/system/multi-user.target.wants/FinishBootUp.service
EXPOSE 22
VOLUME [ "/sys/fs/cgroup" ]

View File

@ -1,66 +0,0 @@
FROM ubuntu:latest
ENV DEBIAN_FRONTEND="noninteractive" container="docker"
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
apt-utils \
curl \
locales \
lsb-release \
net-tools \
openssh-server \
python-pip \
python2.7 \
sudo \
systemd \
&& pip install --upgrade pip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& if ! getent passwd <%= @username %>; then \
useradd -d /home/<%= @username %> -m -s /bin/bash -p '*' <%= @username %>; \
fi \
&& echo "<%= @username %> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \
&& echo "Defaults !requiretty" >> /etc/sudoers \
&& mkdir -p /home/<%= @username %>/.ssh \
&& chown -R <%= @username %> /home/<%= @username %>/.ssh \
&& chmod 0700 /home/<%= @username %>/.ssh \
&& echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys \
&& chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys \
&& chmod 0600 /home/<%= @username %>/.ssh/authorized_keys \
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && /usr/sbin/locale-gen \
&& cd /lib/systemd/system/sysinit.target.wants/; ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 \
&& /bin/rm -f /lib/systemd/system/multi-user.target.wants/* \
&& /bin/rm -f /etc/systemd/system/*.wants/* \
&& /bin/rm -f /lib/systemd/system/local-fs.target.wants/* \
&& /bin/rm -f /lib/systemd/system/sockets.target.wants/*udev* \
&& /bin/rm -f /lib/systemd/system/sockets.target.wants/*initctl* \
&& /bin/rm -f /lib/systemd/system/basic.target.wants/* \
&& /bin/rm -f /lib/systemd/system/anaconda.target.wants/* \
&& /bin/rm -f /lib/systemd/system/plymouth* \
&& /bin/rm -f /lib/systemd/system/systemd-update-utmp* \
&& sed -ri 's/^#?UsePAM\s+.*/UsePAM no/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?PubkeyAuthentication\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?UsePrivilegeSeparation\s+.*/UsePrivilegeSeparation no/' /etc/ssh/sshd_config \
&& echo "UseDNS=no" >> /etc/ssh/sshd_config \
&& systemctl set-default multi-user.target \
&& ln -s /lib/systemd/system/ssh.service /etc/systemd/system/multi-user.target.wants/ssh.service \
&& ln -s /lib/systemd/system/systemd-journald.service /etc/systemd/system/multi-user.target.wants/systemd-journald.service \
&& echo $'[Unit]\
\nDescription=Finish boot up\
\nAfter=ssh.service\
\n\
\n[Service]\
\nType=oneshot\
\nRemainAfterExit=yes\
\nExecStartPre=/bin/sleep 3s\
\nExecStart=/bin/rm -f /run/nologin\
\n\
\n[Install]\
\nWantedBy=default.target' >> /etc/systemd/system/FinishBootUp.service \
&& ln -s /etc/systemd/system/FinishBootUp.service /etc/systemd/system/multi-user.target.wants/FinishBootUp.service
EXPOSE 22
VOLUME [ "/sys/fs/cgroup" ]

View File

@ -1,67 +0,0 @@
FROM ubuntu:rolling
ENV DEBIAN_FRONTEND="noninteractive" container="docker"
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
apt-utils \
curl \
rsync \
locales \
lsb-release \
net-tools \
openssh-server \
python-pip \
python2.7 \
sudo \
systemd \
&& pip install --upgrade pip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& if ! getent passwd <%= @username %>; then \
useradd -d /home/<%= @username %> -m -s /bin/bash -p '*' <%= @username %>; \
fi \
&& echo "<%= @username %> ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \
&& echo "Defaults !requiretty" >> /etc/sudoers \
&& mkdir -p /home/<%= @username %>/.ssh \
&& chown -R <%= @username %> /home/<%= @username %>/.ssh \
&& chmod 0700 /home/<%= @username %>/.ssh \
&& echo '<%= IO.read(@public_key).strip %>' >> /home/<%= @username %>/.ssh/authorized_keys \
&& chown <%= @username %> /home/<%= @username %>/.ssh/authorized_keys \
&& chmod 0600 /home/<%= @username %>/.ssh/authorized_keys \
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && /usr/sbin/locale-gen \
&& cd /lib/systemd/system/sysinit.target.wants/; ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 \
&& /bin/rm -f /lib/systemd/system/multi-user.target.wants/* \
&& /bin/rm -f /etc/systemd/system/*.wants/* \
&& /bin/rm -f /lib/systemd/system/local-fs.target.wants/* \
&& /bin/rm -f /lib/systemd/system/sockets.target.wants/*udev* \
&& /bin/rm -f /lib/systemd/system/sockets.target.wants/*initctl* \
&& /bin/rm -f /lib/systemd/system/basic.target.wants/* \
&& /bin/rm -f /lib/systemd/system/anaconda.target.wants/* \
&& /bin/rm -f /lib/systemd/system/plymouth* \
&& /bin/rm -f /lib/systemd/system/systemd-update-utmp* \
&& sed -ri 's/^#?UsePAM\s+.*/UsePAM no/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?PubkeyAuthentication\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config \
&& sed -ri 's/^#?UsePrivilegeSeparation\s+.*/UsePrivilegeSeparation no/' /etc/ssh/sshd_config \
&& echo "UseDNS=no" >> /etc/ssh/sshd_config \
&& systemctl set-default multi-user.target \
&& ln -s /lib/systemd/system/ssh.service /etc/systemd/system/multi-user.target.wants/ssh.service \
&& ln -s /lib/systemd/system/systemd-journald.service /etc/systemd/system/multi-user.target.wants/systemd-journald.service \
&& echo $'[Unit]\
\nDescription=Finish boot up\
\nAfter=ssh.service\
\n\
\n[Service]\
\nType=oneshot\
\nRemainAfterExit=yes\
\nExecStartPre=/bin/sleep 3s\
\nExecStart=/bin/rm -f /run/nologin\
\n\
\n[Install]\
\nWantedBy=default.target' >> /etc/systemd/system/FinishBootUp.service \
&& ln -s /etc/systemd/system/FinishBootUp.service /etc/systemd/system/multi-user.target.wants/FinishBootUp.service
EXPOSE 22
VOLUME [ "/sys/fs/cgroup" ]

View File

@ -1,15 +0,0 @@
#!/usr/bin/env bash
set -e
# This file is required, because for some reason
# travis deploys do not trigger metadata calculation.
# See: https://github.com/sobolevn/git-secret/issues/89
# This file is only called after successful deploy.
# We need to execute custom call to the Bintray API:
curl -X POST \
--user "sobolevn:$BINTRAY_API_KEY" \
-H "X-GPG-PASSPHRASE: $BINTRAY_GPG_PASS" \
"https://api.bintray.com/calc_metadata/sobolevn/$GITSECRET_DIST"

View File

@ -1,28 +0,0 @@
#!/bin/sh
## Script is sepcifically for use on travis-ci
set -e
## This is an example setup script that you would encapsulate the installation
# What version of avm setup to use
echo "Setting up Ansible Version Manager"
AVM_VERSION="v1.0.0"
## Install Ansible 2.3.1 using pip and label it 'v2.3'
export ANSIBLE_VERSIONS_0="2.3.1.0"
export INSTALL_TYPE_0="pip"
export ANSIBLE_LABEL_0="v2.3"
## Install Ansible 2.4.1 using pip and label it 'v2.4'
export ANSIBLE_VERSIONS_1="2.4.1.0"
export INSTALL_TYPE_1="pip"
export ANSIBLE_LABEL_1="v2.4"
# Whats the default version
export ANSIBLE_DEFAULT_VERSION="v2.4"
## Create a temp dir to download avm
avm_dir="$(mktemp -d 2> /dev/null || mktemp -d -t 'mytmpdir')"
git clone https://github.com/ahelal/avm.git "${avm_dir}" > /dev/null 2>&1
## Run the setup
/bin/sh ${avm_dir}/setup.sh
exit 0

View File

@ -1,14 +0,0 @@
#!/usr/bin/env bash
set -e
if [[ "$GITSECRET_DIST" == "rpm" ]]; then
# To deploy `rpm`-packages this utility is needed:
sudo apt-get install -y rpm;
fi
if [[ ! -z "$GITSECRET_DIST" ]] && [[ -z "$KITCHEN_REGEXP" ]]; then
# When making a non-container build, this step will generate
# proper manifest files:
make "deploy-$GITSECRET_DIST";
fi

View File

@ -1,34 +0,0 @@
#!/usr/bin/env bash
set -e
# Linux helper functions:
function update_linux() {
sudo apt-get update -qq
sudo apt-get install -qq python-apt python-pycurl git python-pip ruby ruby-dev build-essential autoconf rpm
gem install bundler
}
function install_ansible {
bash .ci/ansible-setup.sh
bundle install
~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint
~/.avm/v2.4/venv/bin/pip install netaddr ansible-lint
}
# Mac:
if [[ "$GITSECRET_DIST" == "brew" ]]; then
gnupg_installed="$(brew list | grep -c "gnupg")"
[[ "$gnupg_installed" -ge 1 ]] || brew install gnupg
if [[ -f "/usr/local/bin/gpg1" ]]; then
ln -s /usr/local/bin/gpg1 /usr/local/bin/gpg
fi
brew install gawk
fi
# Linux:
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ -n "$KITCHEN_REGEXP" ]]; then
update_linux
install_ansible
fi

View File

@ -0,0 +1,20 @@
FROM almalinux:8
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN dnf -y update \
&& dnf install -y \
# Direct dependencies:
bash \
gawk \
git \
gnupg \
# Assumed to be present:
diffutils \
file \
findutils \
procps \
make \
&& dnf clean all \
&& rm -rf /var/cache/yum

View File

@ -0,0 +1,17 @@
FROM alpine:3.20.3
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
# Don't install coreutils on Alpine,
# so we get busybox versions of ps, stat, and ls. See #475
RUN apk add --no-cache --update \
# Direct dependencies:
bash \
gawk \
git \
gnupg \
# Assumed to be present:
file \
make \
procps

View File

@ -0,0 +1,17 @@
FROM archlinux:base-20220529.0.58327
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN pacman -Syu --needed --noconfirm \
# Direct dependencies:
bash \
gawk \
git \
gnupg \
# Assumed to be present:
diffutils \
file \
make \
procps

View File

@ -0,0 +1,21 @@
FROM debian:12.7-slim
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
ENV DEBIAN_FRONTEND='noninteractive'
ENV SECRETS_GPG_COMMAND='gpg1'
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# Direct dependencies:
gawk \
git \
gnupg1 \
# Assumed to be present:
file \
procps \
make \
# Cleaning cache:
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,20 @@
FROM debian:12.7-slim
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
ENV DEBIAN_FRONTEND='noninteractive'
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# Direct dependencies:
gawk \
git \
gnupg \
# Assumed to be present:
file \
procps \
make \
# Cleaning cache:
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,20 @@
FROM fedora:40
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN dnf -y update \
&& dnf install -y \
# Direct dependencies:
bash \
gawk \
git \
gnupg \
# Assumed to be present:
diffutils \
file \
findutils \
procps \
make \
&& dnf clean all \
&& rm -rf /var/cache/yum

View File

@ -0,0 +1,20 @@
FROM rockylinux:8
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN dnf -y update \
&& dnf install -y \
# Direct dependencies:
bash \
gawk \
git \
gnupg \
# Assumed to be present:
diffutils \
file \
findutils \
procps \
make \
&& dnf clean all \
&& rm -rf /var/cache/yum

View File

@ -0,0 +1,20 @@
FROM ubuntu:23.10
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
ENV DEBIAN_FRONTEND="noninteractive"
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# Direct dependencies:
gawk \
git \
gnupg \
# Assumed to be present:
file \
procps \
make \
# Cleaning cache:
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

39
.ci/github_release_script.sh Executable file
View File

@ -0,0 +1,39 @@
#!/usr/bin/env sh
set -e
# Installing additional deps:
apk add --no-cache curl jq
# https://gist.github.com/Jaskaranbir/d5b065173b3a6f164e47a542472168c1
USER="$(echo "$GITHUB_REPOSITORY" | cut -d "/" -f1)"
PROJECT="$(echo "$GITHUB_REPOSITORY" | cut -d "/" -f2)"
LAST_RELEASE_TAG=$(curl \
--header "authorization: Bearer $GITHUB_TOKEN" \
--url "https://api.github.com/repos/$GITHUB_REPOSITORY/releases/latest" \
| jq .tag_name | sed 's/"//g'
)
echo "LAST_RELEASE_TAG=$LAST_RELEASE_TAG"
if [ "$LAST_RELEASE_TAG" = 'null' ]; then
# Most likely, we are facing rate-limiting problems,
# just try again later.
exit 1
fi
NEW_CHANGELOG='CHANGELOG-RELEASE.md'
# Generate new CHANGELOG.md with just the last changes
github_changelog_generator \
--user "$USER" \
--project "$PROJECT" \
--token "$GITHUB_OAUTH_TOKEN" \
--since-tag "$LAST_RELEASE_TAG" \
--max-issues 100 \
--no-issues \
--release-branch 'master' \
--token "$GITHUB_TOKEN" \
--output "$NEW_CHANGELOG"
echo 'Done! Changelog:'
cat "$NEW_CHANGELOG"

View File

@ -1,131 +0,0 @@
---
# host to test against
- hosts: test-kitchen
remote_user: root
tasks:
- include_tasks: tasks/dependencies.yml
- name: Install build tools
package:
name: "{{ item }}"
with_items: "{{ build_tools }}"
- name: Check whether deb-src repos are enabled
command: grep -c -e "^deb-src.*" /etc/apt/sources.list
register: deb_src_check
ignore_errors: yes
when:
- ansible_os_family == "Debian"
- name: Set deb-src check results
set_fact:
deb_src_check_result: "{{ deb_src_check.stdout | default(0) | int }}"
- name: Enable Ubuntu main & restricted source repo
replace:
path: '/etc/apt/sources.list'
regexp: '^(#\s)(.*main\srestricted)$'
replace: '\2 # enabled'
when:
- ansible_distribution == "Ubuntu"
- deb_src_check_result >= 1
- name: Enable Debian source repos
replace:
path: '/etc/apt/sources.list'
regexp: '^(deb)(.*)$'
replace: '\1\2\ndeb-src\2'
when:
- ansible_distribution == "Debian"
- deb_src_check_result >= 1
- name: Install gnupg build dependencies for Debian based distros
apt:
name: gnupg2
state: build-dep
update_cache: yes
when:
- ansible_os_family == "Debian"
- name: Install gnupg build dependencies for RedHat based distros
command: bash -lc "yum --assumeyes install yum-utils && yum-builddep --assumeyes gnupg2"
when:
- ansible_os_family == "RedHat"
- name: Get GnuPG github api content
uri:
url: https://api.github.com/repos/gpg/gnupg/tags
method: GET
return_content: yes
body_format: json
register: gnupg_tags
- name: Set url for latest gnupg release source
set_fact:
gnupg_tarball_url: >-
{{
gnupg_tags.json |
selectattr('name','match','gnupg-2.*') |
map(attribute='tarball_url') | first
}}
- name: Download latest release of gnupg source
get_url:
url: "{{ gnupg_tarball_url }}"
dest: /tmp/gnupg.tar.gz
force: yes
retries: 5
delay: 10
- name: Extract gnupg source tarball
unarchive:
src: /tmp/gnupg.tar.gz
dest: /usr/local/src/
- name: Find gnupg src directory
find:
paths: /usr/local/src
patterns: "gpg-gnupg*"
file_type: directory
recurse: no
register: found_gpg_src
- name: Set gnupg src directory
set_fact:
gpg_src_path: "{{ found_gpg_src.files | map(attribute='path') | first }}"
- name: Run gnupg autogen
command: bash -lc "cd {{ gpg_src_path }} && ./autogen.sh "
changed_when: False
- name: Disable development msg for gnupg
lineinfile:
path: "{{ gpg_src_path }}/configure"
regexp: '^development_version=.*'
line: 'development_version=no'
- name: Set gnupg build config
set_fact:
gpg_build_config: >-
--sysconfdir=/etc
--prefix=/usr
--enable-symcryptrun
--docdir=/usr/share/doc/gnupg-2.2.0
--disable-rpath
--enable-maintainer-mode
changed_when: False
- name: Configure gnupg build
command: bash -lc "cd {{ gpg_src_path }} && ./configure {{ gpg_build_config }}"
changed_when: False
- name: Compile gnupg src
command: bash -lc "cd {{ gpg_src_path }} && make"
changed_when: False
- name: Install compiled gnupg
command: bash -lc "cd {{ gpg_src_path }} && make install"
changed_when: False
- include_tasks: tasks/prep-tests.yml
- include_tasks: tasks/run-tests.yml

View File

@ -1,53 +0,0 @@
require_relative './spec_helper'
describe 'git-secret::test' do
describe package('git-secret') do
it { should be_installed }
end
if host_inventory['platform'] == 'fedora'
describe command('find /tmp/git-secret/build -name "*.rpm"') do
its(:stdout) { should match /git-secret.*rpm/ }
end
elsif host_inventory['platform'] == 'alpine'
describe command('find /tmp/git-secret/build -name "*.apk"') do
its(:stdout) { should match /git-secret.*apk/ }
end
else
describe command('find /tmp/git-secret/build -name "*.deb"') do
its(:stdout) { should match /git-secret.*deb/ }
end
end
describe file('/.git-secret_test-passed') do
it { should exist }
end
describe file('/.git-secret_lint-passed') do
it { should exist }
end
if host_inventory['platform'] == 'fedora'
describe command('rpm --query --info git-secret') do
its(:exit_status) { should eq 0 }
end
elsif host_inventory['platform'] == 'alpine'
describe command('apk info git-secret') do
its(:exit_status) { should eq 0 }
end
else
describe command('dpkg-query --status git-secret') do
its(:exit_status) { should eq 0 }
end
end
describe command('man -w "git-secret"') do
its(:exit_status) { should eq 0 }
end
describe command('man -w "git-secret-init"') do
its(:exit_status) { should eq 0 }
end
end

View File

@ -1,11 +0,0 @@
require 'serverspec'
# :backend can be either :exec or :ssh
# since we are running local we use :exec
set :backend, :exec
RSpec.configure do |c|
c.before :all do
c.path = '/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin'
end
end

View File

@ -1,38 +0,0 @@
---
# host to test against
- hosts: test-kitchen
remote_user: root
tasks:
- include_tasks: tasks/dependencies.yml
- name: Install gnupg
package:
name: "{{ item.name }}"
state: present
when:
- ansible_distribution == item.distribution
with_items:
- name: gnupg
distribution: Alpine
- name: gnupg
distribution: Fedora
- name: gnupg1
distribution: Debian
- name: gnupg1
distribution: Alpine
- name: Check for gpg1 binary
stat:
path: /usr/bin/gpg1
register: gpg1
- name: Make gpg1 default binary
file:
src: /usr/bin/gpg1
dest: /usr/bin/gpg
state: link
force: yes
when: gpg1.stat.exists
- include_tasks: tasks/prep-tests.yml
- include_tasks: tasks/run-tests.yml

View File

@ -1,53 +0,0 @@
require_relative './spec_helper'
describe 'git-secret::test' do
describe package('git-secret') do
it { should be_installed }
end
if host_inventory['platform'] == 'fedora' || host_inventory['platform'] == 'redhat'
describe command('find /tmp/git-secret/build -name "*.rpm"') do
its(:stdout) { should match /git-secret.*rpm/ }
end
elsif host_inventory['platform'] == 'alpine'
describe command('find /tmp/git-secret/build -name "*.apk"') do
its(:stdout) { should match /git-secret.*apk/ }
end
else
describe command('find /tmp/git-secret/build -name "*.deb"') do
its(:stdout) { should match(/git-secret.*deb/) }
end
end
describe file('/.git-secret_test-passed') do
it { should exist }
end
describe file('/.git-secret_lint-passed') do
it { should exist }
end
if host_inventory['platform'] == 'fedora' || host_inventory['platform'] == 'redhat'
describe command('rpm --query --info git-secret') do
its(:exit_status) { should eq 0 }
end
elsif host_inventory['platform'] == 'alpine'
describe command('apk info git-secret') do
its(:exit_status) { should eq 0 }
end
else
describe command('dpkg-query --status git-secret') do
its(:exit_status) { should eq 0 }
end
end
describe command('man -w "git-secret"') do
its(:exit_status) { should eq 0 }
end
describe command('man -w "git-secret-init"') do
its(:exit_status) { should eq 0 }
end
end

View File

@ -1,11 +0,0 @@
require 'serverspec'
# :backend can be either :exec or :ssh
# since we are running local we use :exec
set :backend, :exec
RSpec.configure do |c|
c.before :all do
c.path = '/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin'
end
end

View File

@ -1,42 +0,0 @@
---
# host to test against
- hosts: test-kitchen
remote_user: root
tasks:
- include_tasks: tasks/dependencies.yml
- name: Install gnupg
package:
name: "{{ item.name }}"
state: present
when:
- ansible_distribution == item.distribution
with_items:
- name: gnupg
distribution: Alpine
- name: gnupg2
distribution: Fedora
- name: gnupg2
distribution: Ubuntu
- name: gnupg
distribution: Debian
- name: gnupg
distribution: Alpine
- name: Check for gpg2 binary
stat:
path: /usr/bin/gpg2
register: gpg2
- name: Make gpg2 default binary
file:
src: /usr/bin/gpg2
dest: /usr/bin/gpg
state: link
force: yes
when:
- gpg2.stat.exists
- gpg2.stat.islnk == False
- include_tasks: tasks/prep-tests.yml
- include_tasks: tasks/run-tests.yml

View File

@ -1,53 +0,0 @@
require_relative './spec_helper'
describe 'git-secret::test' do
describe package('git-secret') do
it { should be_installed }
end
if host_inventory['platform'] == 'fedora' || host_inventory['platform'] == 'redhat'
describe command('find /tmp/git-secret/build -name "*.rpm"') do
its(:stdout) { should match(/git-secret.*rpm/) }
end
elsif host_inventory['platform'] == 'alpine'
describe command('find /tmp/git-secret/build -name "*.apk"') do
its(:stdout) { should match /git-secret.*apk/ }
end
else
describe command('find /tmp/git-secret/build -name "*.deb"') do
its(:stdout) { should match(/git-secret.*deb/) }
end
end
describe file('/.git-secret_test-passed') do
it { should exist }
end
describe file('/.git-secret_lint-passed') do
it { should exist }
end
if host_inventory['platform'] == 'fedora' || host_inventory['platform'] == 'redhat'
describe command('rpm --query --info git-secret') do
its(:exit_status) { should eq 0 }
end
elsif host_inventory['platform'] == 'alpine'
describe command('apk info git-secret') do
its(:exit_status) { should eq 0 }
end
else
describe command('dpkg-query --status git-secret') do
its(:exit_status) { should eq 0 }
end
end
describe command('man -w "git-secret"') do
its(:exit_status) { should eq 0 }
end
describe command('man -w "git-secret-init"') do
its(:exit_status) { should eq 0 }
end
end

View File

@ -1,11 +0,0 @@
require 'serverspec'
# :backend can be either :exec or :ssh
# since we are running local we use :exec
set :backend, :exec
RSpec.configure do |c|
c.before :all do
c.path = '/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin'
end
end

View File

@ -1,41 +0,0 @@
---
- name: Load a variable file based on the OS type, or a default if not found.
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
- "default.yml"
- name: Install Dependencies
package:
name: "{{ item }}"
state: present
with_items: "{{ test_dependencies }}"
- name: Get bats
git:
repo: 'https://github.com/sstephenson/bats.git'
dest: /opt/bats
- name: Install bats
file:
src: /opt/bats/libexec/bats
dest: /usr/bin/bats
state: link
- name: Get ShellCheck
get_url:
url: https://storage.googleapis.com/shellcheck/shellcheck-latest.linux.x86_64.tar.xz
dest: /tmp/shellcheck.tar.xz
- name: Install ShellCheck
command: tar xvf /tmp/shellcheck.tar.xz -C /usr/bin --strip-components=1
args:
warn: no
creates: /usr/bin/shellcheck
- name: Install fpm
gem:
name: fpm
state: present
user_install: no

View File

@ -1,36 +0,0 @@
---
- name: Get OS package type
set_fact:
os_pkg_type: "{{ item.os_pkg_type }}"
when:
- item.os_family == ansible_os_family
with_items:
- os_family: RedHat
os_pkg_type: "rpm"
- os_family: Debian
os_pkg_type: "deb"
- os_family: Suse
os_pkg_type: "rpm"
- os_family: Alpine
os_pkg_type: "apk"
changed_when: false
tags:
- skip_ansible_lint
- name: Get gpg version
command: gpg --version
register: gpg_version
changed_when: False
- name: Print gpg version
debug:
msg: "Running test againts {{ gpg_version.stdout_lines | first | string }}."
changed_when: False
- name: Copy git-secret src
synchronize:
src: /opt/workspace/
dest: /tmp/git-secret
archive: false
owner: no
recursive: yes

View File

@ -1,69 +0,0 @@
---
- name: Run ci-test
command: bash -lc "cd /tmp/git-secret && make test"
changed_when: False
ignore_errors: yes
register: test_results
environment:
PATH: /usr/local/bin:{{ ansible_env.PATH }}
- name: Print ci-test results
debug:
var: test_results.stdout_lines
- name: Create file when ci-test passes
file:
path: /.git-secret_test-passed
state: touch
when:
- test_results.rc == 0
- name: Run lint
command: bash -lc "cd /tmp/git-secret && make lint"
ignore_errors: yes
register: lint_results
changed_when: False
- name: Print lint results
debug:
var: lint_results.stdout_lines
- name: Create file when lint passes
file:
path: /.git-secret_lint-passed
state: touch
when:
- lint_results.rc == 0
- name: Create git-secret {{ os_pkg_type }} package
command: bash -lc "cd /tmp/git-secret && make build-{{ os_pkg_type }}"
changed_when: False
ignore_errors: yes
register: test_results
environment:
PATH: /usr/local/bin:{{ ansible_env.PATH }}
- name: Find git-secret {{ os_pkg_type }} file
find:
paths: /tmp/git-secret/build
patterns: "*.{{ os_pkg_type }}"
recurse: yes
register: pkg_location
- name: Set git-secret {{ os_pkg_type }} location
set_fact:
pkg_path: "{{ pkg_location.files | map(attribute='path') | first }}"
when:
- pkg_location is defined
- name: Install git-secret {{ os_pkg_type }} package
command: bash -lc "{{ item.command }} {{ pkg_path }}"
when:
- item.os_family == ansible_os_family
with_items:
- command: "rpm --nodeps --install --force"
os_family: "RedHat"
- command: "dpkg --force-all --install"
os_family: "Debian"
- command: "apk add --allow-untrusted"
os_family: "Alpine"

View File

@ -1,15 +0,0 @@
---
test_dependencies:
- gawk
- git
- make
- man
- procps
- rsync
- ruby
- ruby-dev
- tar
build_tools:
- make
- tar

View File

@ -1,19 +0,0 @@
---
test_dependencies:
- gawk
- git
- make
- man
- redhat-rpm-config
- rpm-build
- rsync
- ruby-devel
- rubygems
- rubygems-devel
build_tools:
- ImageMagick
- autoconf
- automake
- texinfo
- transfig

View File

@ -1,16 +0,0 @@
---
test_dependencies:
- gawk
- git
- make
- man
- ruby-dev
- rubygems
build_tools:
- autoconf
- automake
- build-essential
- imagemagick
- texinfo
- transfig

View File

@ -1,19 +0,0 @@
---
test_dependencies:
- gawk
- git
- make
- man
- redhat-rpm-config
- rpm-build
- rsync
- ruby-devel
- rubygems
- rubygems-devel
build_tools:
- ImageMagick
- autoconf
- automake
- texinfo
- transfig

View File

@ -1,16 +0,0 @@
---
test_dependencies:
- gawk
- git
- make
- man
- ruby-dev
- rubygems
build_tools:
- autoconf
- automake
- build-essential
- imagemagick
- texinfo
- transfig

View File

@ -1,16 +0,0 @@
---
test_dependencies:
- gawk
- make
- git
- ruby-dev
- rubygems
- man
build_tools:
- autoconf
- automake
- build-essential
- imagemagick
- texinfo
- transfig

View File

@ -0,0 +1,12 @@
FROM almalinux:8
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN dnf -y update \
&& dnf install -y \
# Required for our install script:
wget \
sudo \
&& dnf clean all \
&& rm -rf /var/cache/yum

View File

@ -0,0 +1,9 @@
FROM alpine:3.20.3
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN apk add --no-cache --update \
# Required for our install script:
bash \
wget

View File

@ -0,0 +1,23 @@
FROM debian:12.7-slim
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
ENV DEBIAN_FRONTEND='noninteractive'
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# Required to work with https-based repos and custom signed packages:
apt-transport-https \
ca-certificates \
# Required for our install script:
gnupg \
sudo \
wget \
# Cleaning cache:
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* \
&& adduser --disabled-password nonroot \
&& adduser nonroot sudo \
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER nonroot

View File

@ -0,0 +1,16 @@
FROM fedora:40
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN dnf -y update \
&& dnf install -y \
# Required for our install script:
wget \
sudo \
&& dnf clean all \
&& rm -rf /var/cache/yum \
&& adduser --password='' -m nonroot \
&& echo 'nonroot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER nonroot
WORKDIR /home/nonroot

View File

@ -0,0 +1,12 @@
FROM rockylinux:8
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
RUN dnf -y update \
&& dnf install -y \
# Required for our install script:
wget \
sudo \
&& dnf clean all \
&& rm -rf /var/cache/yum

View File

@ -0,0 +1,23 @@
FROM ubuntu:23.10
LABEL maintainer="mail@sobolevn.me"
LABEL vendor="git-secret team"
ENV DEBIAN_FRONTEND='noninteractive'
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
# Required to work with https-based repos and custom signed packages:
apt-transport-https \
ca-certificates \
# Required for our install script:
gnupg \
sudo \
wget \
# Cleaning cache:
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* \
&& adduser --disabled-password nonroot \
&& adduser nonroot sudo \
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER nonroot

View File

@ -0,0 +1,40 @@
# Initially copied from
# https://github.com/jordansissel/fpm/blob/master/Dockerfile
FROM alpine:3.20.3
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ENV CODE_DIR='/code'
ENV SECRETS_PROJECT_ROOT="$CODE_DIR"
ENV NFPM_VERSION='2.15.1'
RUN apk add --no-cache --update \
# fpm deps:
ruby \
ruby-dev \
ruby-etc \
gcc \
libffi-dev \
make \
libc-dev \
rpm \
tar \
# Direct dependencies:
bash \
gawk \
git \
gnupg \
# Assumed to be present:
curl \
# envsubst for `nfpm`:
gettext \
# Installing `nfpm`, it builds alpine packages:
&& curl -sfL "https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm_${NFPM_VERSION}_Linux_x86_64.tar.gz" --output 'nfpm.tar.gz' \
&& tar -xf 'nfpm.tar.gz' nfpm \
&& mv nfpm '/usr/local/bin' \
&& chmod 755 '/usr/local/bin/nfpm' \
&& rm -rf 'nfpm.tar.gz' \
# Installing `fpm`, it builds all other packages:
&& gem install --no-document fpm
WORKDIR $CODE_DIR

View File

@ -1,25 +0,0 @@
#!/usr/bin/env bash
set -e
function run_kitchen_tests {
ansible --version
ruby --version
python --version
pip --version
bundler --version
bundle show
bundle exec kitchen test --test-base-path="$PWD/.ci/integration" $KITCHEN_REGEXP
}
# Local builds:
if [[ "$GITSECRET_DIST" == "brew" ]]; then
# Only running `make test` on standard (non-docker) build,
# since it is called inside the docker container anyway.
make test
fi
# Linux:
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ -n "$KITCHEN_REGEXP" ]]; then
run_kitchen_tests
fi

View File

@ -8,17 +8,6 @@ indent_style = space
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
[*.json]
indent_size = 2
[*.py]
indent_size = 4
[*.sh]
indent_size = 2
[*.bats]
indent_size = 2
[Makefile]

11
.gitattributes vendored
View File

@ -1 +1,10 @@
* text=auto
# Excluding from GitHub languages:
vendor/ linguist-vendored
# Excluding from GitHub diff:
*.1 linguist-generated
*.7 linguist-generated
# Excluding from `git diff`:
*.1 -diff
*.7 -diff

5
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,5 @@
# These are supported funding model platforms
github: wemake-services
open_collective: git-secret
custom: https://boosty.to/sobolevn

View File

@ -36,4 +36,5 @@ What versions of software are you using?
**`gpg` version:** (`gpg --version`) …
**`git` version:** (`git --version`) …
<!-- Love git-secret? Please consider supporting our collective:
👉 https://opencollective.com/git-secret/donate -->

View File

@ -1,10 +1,17 @@
<!-- Thanks for sending a pull request!
Here's how it's done:
0. If you are planing a large feature, please, discuss it first in the separate issue
1. Make sure that you open your pull-request to the `develop` branch (master branch is protected anyways)
2. Make sure that tests pass
3. Make sure that your code has the same style
0. If you are planning a large feature, please, discuss it first in a separate issue.
See also [CONTRIBUTING.md](https://github.com/sobolevn/git-secret/blob/master/CONTRIBUTING.md) if you haven't already.
1. Make sure that you open your pull request against the `master` branch
2. Make sure that your code has the same style as the surrounding code and git-secret in general
3. Make sure your code passes using `shellcheck` with `make lint`
4. You can also spell check your code using 'aspell -c {filename}'
5. If you are adding or changing features, please add tests that cover the new behavior (in addition to the unchanged behavior if appropriate)
6. Make sure that all tests pass
7. Change the .md file(s) in man/man*/ to document your changes if appropriate
(regenerating man pages with 'make build-man' is optional)
8. Add an entry to CHANGELOG.md explaining the change briefly and, if appropriate, referring to the related issue #
Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below. -->

83
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,83 @@
# GitHub-native dependabot setup, configuration:
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
version: 2
updates:
# Docs and GitHub Actions:
- package-ecosystem: bundler
directory: "/docs"
schedule:
interval: daily
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
# Our CI and release docker images:
- package-ecosystem: docker
directory: ".ci/releaser/alpine"
schedule:
interval: weekly
# Release CI:
- package-ecosystem: docker
directory: ".ci/release-ci/alpine"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/release-ci/debian"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/release-ci/ubuntu"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/release-ci/centos"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/release-ci/fedora"
schedule:
interval: weekly
# Docker CI:
- package-ecosystem: docker
directory: ".ci/docker-ci/alpine"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/docker-ci/debian-gnupg1"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/docker-ci/debian-gnupg2"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/docker-ci/ubuntu"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/docker-ci/centos"
schedule:
interval: weekly
- package-ecosystem: docker
directory: ".ci/docker-ci/fedora"
schedule:
interval: weekly

25
.github/workflows/build-man.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: build-man
on:
push:
branches:
- master
paths:
- 'docs/**/*'
pull_request:
paths:
- 'docs/**/*'
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}-build-man
cancel-in-progress: true
jobs:
build-man:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checks that manual generation works
run: make build-man

32
.github/workflows/github-pages.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: github-pages
on:
push:
branches:
- master
paths:
- 'man/**/*'
- 'docs/**/*'
- 'utils/*/install.sh'
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build docs
run: make build-docs
- name: Deploy to Pages
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch

91
.github/workflows/release-ci.yml vendored Normal file
View File

@ -0,0 +1,91 @@
name: release-ci
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
# In case we change the some build scripts:
push:
branches:
- master
paths:
- 'utils/**'
- '.ci/release-ci/**'
- 'Makefile'
- '.github/workflows/release-ci.yml'
pull_request:
paths:
- 'utils/**'
- '.ci/release-ci/**'
- 'Makefile'
- '.github/workflows/release-ci.yml'
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
existing:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- release-type: deb
release-env: debian
- release-type: deb
release-env: ubuntu
- release-type: rpm
release-env: fedora
- release-type: rpm
release-env: rocky
- release-type: rpm
release-env: alma
#- release-type: apk # temp removal of alpine releases for #881
# release-env: alpine # temp removal of alpine releases for #881
steps:
- uses: actions/checkout@v4
- name: Run checks
run: |
SECRETS_RELEASE_ENV="${{ matrix.release-env }}" \
SECRETS_RELEASE_TYPE="${{ matrix.release-type }}" \
make release-ci
# Keep in sync with `release.yml`:
dryrun:
runs-on: ubuntu-latest
strategy:
matrix:
release-type:
- apk
- deb
- rpm
steps:
- uses: actions/checkout@v4
- name: Run dry run of the release process
run: |
SECRETS_RELEASE_TYPE="${{ matrix.release-type }}" \
SECRETS_DEPLOY_DRY_RUN=1 \
SECRETS_ARTIFACTORY_CREDENTIALS='fake' \
make release
# https://github.community/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
create-issue-on-failure:
name: Create an issue if release-ci cron failed
runs-on: ubuntu-latest
needs: [existing, dryrun]
if: ${{ github.event_name == 'schedule' && github.repository == 'sobolevn/git-secret' && always() && (needs.existing.result == 'failure' || needs.dryrun.result == 'failure') }}
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
await github.rest.issues.create({
owner: "sobolevn",
repo: "git-secret",
title: `release-ci failure on ${new Date().toDateString()}`,
body: "Details: https://github.com/sobolevn/git-secret/actions/workflows/release-ci.yml",
})

45
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: release
on:
push:
tags:
- 'v*'
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}
jobs:
release-packages:
environment:
name: artifactory
url: https://gitsecret.jfrog.io/artifactory
runs-on: ubuntu-latest
strategy:
matrix:
release-type:
- apk
# - deb
# - rpm
steps:
- uses: actions/checkout@v4
- name: Run checks
run: SECRETS_RELEASE_TYPE="${{ matrix.release-type }}" make release
env:
SECRETS_ARTIFACTORY_CREDENTIALS: ${{ secrets.SECRETS_ARTIFACTORY_CREDENTIALS }}
# github-release:
# runs-on: ubuntu-latest
# needs: ['release-packages']
# steps:
# - uses: actions/checkout@v4
# - run: make changelog
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - uses: softprops/action-gh-release@v1
# with:
# # Generated above by `make changelog`:
# body_path: CHANGELOG-RELEASE.md
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

89
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,89 @@
name: test
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}-test
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Shellcheck and Hadolint
run: make lint
docker-ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker-env:
- alma
- alpine
#- arch # disable arch testing for now, see #916
- debian-gnupg1 # We need to test legacy version of gnupg
- debian-gnupg2
- fedora
- rocky
- ubuntu
steps:
- uses: actions/checkout@v4
- name: Run checks
run: SECRETS_DOCKER_ENV="${{ matrix.docker-env }}" make docker-ci
osx-ci:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
test-verbose: [0, 1]
steps:
- uses: actions/checkout@v4
- name: Install deps
run: brew install gawk gnupg
- name: Run checks
run: SECRETS_TEST_VERBOSE=${{ matrix.test-verbose }} make test
freebsd-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run checks
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: pkg install -y gnupg bash gmake git gawk
run: |
which -a bash
which -a shell
whoami
env
freebsd-version
gmake test
windows-wsl-ci:
runs-on: windows-latest
steps:
- uses: Vampire/setup-wsl@v3
with:
update: 'true'
additional-packages: gnupg make man git gawk file
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- shell: wsl-bash {0}
run: make test

12
.gitignore vendored
View File

@ -29,7 +29,7 @@ $RECYCLE.BIN/
# Linux trash folder which might appear on any partition or disk
.Trash-*
#####=== OSX ===#####
#####=== MacOS ===#####
.DS_Store
.AppleDouble
.LSOverride
@ -126,7 +126,6 @@ _site/
git-secret
# Temporary packages:
vendor/
temp/
# Packaging:
@ -134,6 +133,9 @@ build/
*.deb
*.fpm
# Kithcne files
Gemfile.lock
.kitchen/
# Docs:
docs/man
docs/_posts
docs/_includes/install-*.sh
docs/_includes/version.txt
CHANGELOG-RELEASE.md

View File

@ -1,144 +0,0 @@
---
driver:
name: docker
use_sudo: false
provisioner:
# name of the host
hosts: test-kitchen
# use an ansible playbook to provision our server
name: ansible_playbook
ansible_verbose: false
require_ansible_repo: false
require_ansible_omnibus: true
ansible_version: 2.4.1
require_chef_for_busser: false
sudo_command: sudo -E -H
idempotency_test: false
sudo: true
ansible_extra_flags: "-e '{ kitchen_testrun: True }'"
additional_copy_path:
- ".ci/integration/vars"
- ".ci/integration/tasks"
transport:
max_ssh_sessions: 3
platforms:
- name: debian-latest
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .Dockerfiles/debian/latest/Dockerfile
platform: debian
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
run_options:
tmpfs:
- /run
- /run/lock
- name: fedora-latest
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .Dockerfiles/fedora/latest/Dockerfile
platform: fedora
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
run_options:
tmpfs:
- /run
- /run/lock
- name: centos-latest
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .Dockerfiles/centos/latest/Dockerfile
platform: centos
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
run_options:
tmpfs:
- /run
- /run/lock
- name: ubuntu-latest
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .Dockerfiles/ubuntu/latest/Dockerfile
platform: ubuntu
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
run_options:
tmpfs:
- /run
- /run/lock
- name: ubuntu-rolling
driver_config:
run_command: /lib/systemd/systemd
dockerfile: .Dockerfiles/ubuntu/rolling/Dockerfile
platform: ubuntu
cap_add:
- SYS_ADMIN
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
run_options:
tmpfs:
- /run
- /run/lock
- name: alpine-latest
driver_config:
run_command: /sbin/init
dockerfile: .Dockerfiles/alpine/latest/Dockerfile
platform: alpine
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
run_options:
tmpfs:
- /run
- /run/lock
verifier:
name: serverspec
sudo_path: true
suites:
# suites found at /test/integration/$test-name
# in container @/tmp/kitchen
- name: gnupg1
verifier:
patterns:
- roles/git-secret/.ci/integration/gnupg1/serverspec/*_spec.rb
excludes:
- centos-latest
- name: gnupg2
verifier:
patterns:
- roles/git-secret/.ci/integration/gnupg2/serverspec/*_spec.rb
excludes:
- ubuntu-latest
- name: gnupg-git
verifier:
patterns:
- roles/git-secret/.ci/integration/gnupg-git/serverspec/*_spec.rb
bundler_path: '/usr/local/bin'
rspec_path: '/usr/local/bin'
excludes:
- ubuntu-latest
- centos-latest
- alpine-latest

View File

@ -1,120 +0,0 @@
matrix:
fast_finish: true
include:
- os: linux
env: KITCHEN_REGEXP="gnupg1-alpine-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg1-debian-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg1-fedora-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg1-ubuntu-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg1-ubuntu-rolling"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg2-alpine-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg2-debian-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg2-fedora-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg2-centos-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg2-ubuntu-rolling"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg-git-debian-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg-git-fedora-latest"
services: docker
sudo: required
language: ruby
rvm: 2.4
- os: linux
env: KITCHEN_REGEXP="gnupg-git-ubuntu-rolling"
services: docker
sudo: required
language: ruby
rvm: 2.4
# - os: osx
# env: GITSECRET_DIST="brew"
# sudo: false
# language: generic
before_script:
- chmod +x ".ci/before_script.sh" && ".ci/before_script.sh"
script:
- chmod +x ".ci/script.sh" && ".ci/script.sh"
before_deploy:
- chmod +x ".ci/before_deploy.sh" && ".ci/before_deploy.sh"
deploy:
- provider: bintray
on:
branch: master
condition: "$GITSECRET_DIST == deb"
file: "build/deb_descriptor.json"
user: "sobolevn"
key: "$BINTRAY_API_KEY"
passphrase: "$BINTRAY_GPG_PASS"
- provider: bintray
on:
branch: master
condition: "$GITSECRET_DIST == rpm"
file: "build/rpm_descriptor.json"
user: "sobolevn"
key: "$BINTRAY_API_KEY"
passphrase: "$BINTRAY_GPG_PASS"
after_deploy:
- chmod +x ".ci/after_deploy.sh" && ".ci/after_deploy.sh"
notifications:
email:
on_success: never
on_failure: change

View File

@ -1,71 +1,351 @@
# Changelog
## {{Next Version}}
### Misc
- NOTE: Arch instructions now say to install from source. Arch tests removed temporarily (#916)
- NOTE: there is an issue when repo directory (or a parent dir) contains a space (#135)
- Improve error messaging when we cannot find git repo (#874)
- Temporarily disable apk builds on alpine (#881)
- Have `hide -v` show output from gnupg
- Documentation updates and fixes
## 0.5.0
### Features
- Adds `SECRETS_GPG_ARMOR` env variable to use `gpg --armor`
when encrypting files, so secret files are stored
in text format rather than binary (#631)
- Allow gnupg permission warnings in `tell`, `hide`, `reveal`, and `removeperson` (#811)
- `git secret init` now sets `.gitsecret/keys` permission to 0700 (#811)
- Improve verbose and non-verbose output
### Bugfixes
- Fix adding newlines to `.gitignore` entries (#643)
- Fix `cat` and `reveal` on named files while in repo subdir (#710)
- Fix `clean`, `hide`, `reveal` so they only remove marked secret files (#833)
- Fix for `removeperson` if same email is present multiple times (#638)
- Correct error message about files missing from .gitignore
### Misc
- Rename `killperson` command to `removeperson` (#684)
- Improve error messaging decrypting nonexistent files (#706)
- Improve, expand, correct, and update docs (#699)
- Update docs for use with CI/CD server (#675)
- Upgrade bats-core to v1.6.0 (#755)
- Test, and build RPMS, with Rocky and Alma Linux instead of CentOS (#765)
- Automate testing code on windows using WSL (#846)
- Automate testing code on FreeBSD (#455)
- Improve testing of .gitignore contents (#792)
- Automate running verbose tests with SECRETS_TEST_VERBOSE=1 (#794)
- Improve documentation about installing on Windows (#843)
## 0.4.0
### Bugfixes
- Escape filenames with special characters before adding to `.gitignore`
- Better error handling around telling an email twice (#634)
- Fix for `-P` (#647)
### Misc
- Removed `test-kitchen`
- Moved from `travis` to GitHub Actions
- Changed almost all infrastructure code
- Moved away from Bintray to Artifactory
- Changes how GitHub Pages work
- Add security disclaimer for git-secret-killperson
- Improve documentation about releases
- Man page improvements
## Version 0.3.3
### Bugfixes
- In 'tell', warn about disabled, revoked, expired, or invalid keys (#552, #508, #317, #290, #283, #238)
- Error if 'tell' is used on an email address with multiple keys (#552)
- Don't let 'reveal' clobber secret files (#579)
- Updated test key fixture that had expired (#607)
### Misc
- Improve docs about using gpg with git-secret (#577)
- Text improvements and More about security in git-secret.7 man page (#603)
- Reflect changes in ruby bundler during build process
- Upgrade build process to ansible 2.9
- Use shellcheck 0.7.1 with CI, not 'latest' (#609)
- Improve output of `git-secret add`
## Version 0.3.2
### Bugfixes
- Fix mention of version in git-secret add man page (#544)
### Misc
- Update developer docs, especially regarding mac, docker, and test-kitchen (#195)
- Update man pages to mention version documented (#420)
## Version 0.3.1
### Misc
- Update man pages
## Version 0.3.0
### Features
- Support SECRETS_PINENTRY env var for gnupg --pinentry-mode parameter (#221)
- Show output from gnupg if 'hide' fails (#516, #202, #317)
- Add support for Busybox (#478)
### Bugfixes
- Use OSX's mktemp on OSX, even if there's another version in PATH. (#485)
- Make rsync a build requirement on debian (#500)
- Use gnupg1, not gnupg2, when tests specify gnupg1 (#241)
- Note dependencies gawk, bash, and coreutils in linux packages (#493)
- Handle case of key having no email and a comment (#527)
- Avoid blank lines from output of 'clean -v'
### Misc
- Improve messaging and logic around deleting tmp files.
- Add note about secrets and old keys (#499)
- Transition build process from python 2 to python 3 (#487)
- Upgrade build process from ansible 2.5 to ansible 2.8
- Fix build process when installing gnupg2 source deps on Ubuntu
- Close file descriptor 3 when running gnupg subprocesses (#521)
- Small optimization in 'hide'
- Improve code comments
- Update docs to note that git-secret repos modified by git-secret 0.2.3 and
later are not backward compatible with pre-0.2.3 versions of git-secret. (#536)
## Version 0.2.6
### Features
- git-secret is now available in Fedora, link added to README.md. (#315)
- Support automated testing on windows with Travis CI (#372)
- Support SECRETS_VERBOSE env var to enable verbosity (#323)
- Use gpg without --quiet when decrypting in verbose mode (#394)
- Add -v options to 'tell' and 'reveal', showing gpg output (#320, #395)
- Change 'init' to never ignore .secret files (#362)
- 'add' appends filepaths to .gitignore by default (#225)
- Automate the GitHub release (#411)
### Bugfixes
- Fix 'hide -m' when used as first hide operation (#466)
- Fix code to respect $TMPDIR when generating tmp files (#451)
- Be more careful when deleting test files (#360)
- Use separate directory when testing, instead of using $BATS_TMPDIR directly (#407)
- Fix 'whoknows -l' and related tests on FreeBSD (#454)
- Fix git-secret init when used on busybox (#475)
- Update git-secret.io, fix utils/gh-branch.sh to use 'git all --add' (#344)
- Fix link to homebrew's git-secret in README.md (#310)
- Remove diagnostic output from test results (#324)
- Remove un-needed redirection in 'reveal' (#325)
- Fix link to current contributors in CONTRIBUTING.md (#331)
- Fix tests when running from git hooks (#334)
- Fix typo, remove temp directory in utils/tests.sh (#347)
- Spelling fixes
- Fix re: SECRETS_DIR in 'init' and SECRETS_EXTENSION in test_reveal.bats (#364)
- git-secret will fail if you pass params or filenames that are not understood (#390)
- Use SECRETS_GPG_COMMAND env var in gpg version check (#389)
- Add header to git-secret.7 man page, for debian and doc improvement (#386)
- Respect DESTDIR when installing as per GNU/debian/etc recommendations (#424)
- Use git check-ignore to test for files ignored by git
### Misc
- Improve docs about hide -m option (#467)
- Document SECRETS_VERBOSE and improve env var docs (#396)
- Setting SECRETS_TEST_VERBOSE env var shows debug info during tests (EXPERIMENTAL)
- Add documentation about how to write tests.
- Suppress 'cleaning up temp files' messages unless in a verbose mode.
- Improve git-secret user messaging.
- Update CHANGELOG.md to mention fix for #281 in v0.2.5 (#311)
- Add text explaining git-secret Style Guide and Development Philosophy
- Use Shellcheck on tests/ files, changes for Shellcheck in tests/ (#368)
- Use Shellcheck on MacOS/osx travis tests (#403)
- Show commands run by Makefile as per debian upstream recommendations (#386)
- Upgrade bats-core to v1.1.0, import bats-core into vendor/bats-core (#377)
- Use gawk to parse emails from gpg output
- Optimize code that parses keyrings
- Remove unused code
## Version 0.2.5
### Features
- Add support for FreeBSD (#244)
- Add -l option to whoknows, which shows key expiration dates (#283)
- Add -P option (preserve permissions) to reveal and hide (#172)
- Add -F option (force, changing some errors to warnings) to hide and reveal (#253)
- Allow user to specify name of secret dir at runtime using SECRETS_DIR env var, and test (#247, #250)
### Bugfixes
- Fix issues with spaces in paths and filenames (#226, #135)
- Fix issue when 'hide' used in subdir of repo (#230)
- Fix issues in 'changes' with trailing newlines (#291)
- Fix 'hide' to only count actually hidden files as hidden (#280)
- Fixed bugs and improved error messages (#174)
- Issue error message when unable to hide a secret (#202, #238)
- Accept gpg key with no name, only an email (#227)
- Require keys to be specified by email, as documented (#267)
- Disallow 'git secret tell' or 'killperson' with emails that are not in keyring (also #267)
### Misc
- Added notes about packages and for package maintainers (#281)
- Improve documentation regarding operation with different versions of GPG (#274, #182)
- Documentation improvements, error message and text improvements, and typo fixes (#254)
- git-secret RFC#001 added, documenting a path towards independence from gpg binary formats (#208)
- Add tests for expired gpg keys, and gpg keys with only emails (#276)
## Version 0.2.4
### Features
- Added `git secret cat` feature (#141)
### Bugfixes
- `git secret hide` and `git secret changes` check for files more carefully (#153, #154)
### Misc
- Documentation and error message improvements (#126, #136, #144, #150)
- Build and CI fixes (#152, #179, #186, #188, #189)
- Migrate to `bats-core` bash testing framework
## Version 0.2.3
### Features
- Added `-m` option to `hide` command, files will only be hidden when modifications are detected (#92)
- Changed how path mappings file works: colon delimited FSDB (#92)
- Changed how path mappings file works: colon delimited FSDB in `.gitsecret/paths/mapping.cfg', so git-secret
can store checksums of hidden files. Note this means git-secret repos modified by git-secret 0.2.3
or later are not backward compatible with pre-0.2.3 versions of git-secret. (#92)
- `git secret init` now adds `random_seed` to `.gitignore` (#93)
### Bugfixes
- Dropped `git check-ignore`, using `git add --dry-run` instead to check for ignored files (#105,#38)
- Fixed `gnupg` >= 2.1 CI tests (#6)
### Misc
- Now users can run local CI tests using test-kitchen (#6)
- Migrated travis ci tests to test-kitchen for Linux platforms.
- `git secret init` now adds `random_seed` to `.gitignore` (#93)
- Added more `gpg` version to test matrix (#99)
- Dropped `git check-ignore`, using `git add --dry-run` instead to check for ignored files (#105,#38)
- Added CentOS to test matrix (#38,#91)
- All tested Linux platforms now use latest release of `shellchek`
- All tested Linux platforms now use latest release of `shellcheck`
- Added Alpine to test matrix, and apk is now built. (#75)
## Version 0.2.2
### Features
- Change how the `usage` command works (#48)
- Now `git-secret` works from any place inside `git-tree` (#56)
- Added `-d` option to the `hide` coomand: it deletes unencrypted files (#62)
- Added `-d` option to the `hide` command: it deletes unencrypted files (#62)
- Added new command `changes` to see the diff between the secret files (#64)
- Fixed bug when `_user_required` was not working after reimporting keys (#74)
- Now it is possible to provide multiple emails to the `killperson` command (#73)
- Now it is possible to provide multiple emails to the `tell` command (#72)
### Bugfixes
- Fixed bug when `_user_required` was not working after re-importing keys (#74)
- Refactored `hide` and `clean` commands to be shorter
### Misc
- Now every doc in this project refer to `git-secret.io` instead of old `gh-pages` website (#71)
- Now installation section is removed from main `man` file (#70)
- Now "See also" section in the `man`s are clickable (#69)
- Now "See also" sections in the `man` pages are clickable (#69)
- Added "Manual" section to the manuals (#61)
- Added `centos` container for `ci` testing (#38)
- Tests are refactored. Added `clean` command tests, removed a lot of hardcoded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases (#52)
- Refactored `hide` and `clean` commands to be shorter
- Added `CentOS` container for `ci` testing (#38)
- Tests are refactored. Added `clean` command tests, removed a lot of hard-coded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases (#52)
- `shellcheck` is now supported with `make lint`
## Version 0.2.1
- Now everything is tested inside the `docker`-containers and `OSX` images on `travis`.
- Added autodeploy to `bintray` in `.travis.yml`.
- Added `.ci/` folder for continuous integration, refactored `utils/` folder.
### Misc
- Added `CONTRIBUTING.md` and `LICENSE.md`.
- New brand logo in the `README.md`.
- Added autodeploy to `bintray` in `.travis.yml`.
- Now everything is tested inside the `docker`-containers and `OSX` (MacOS) images on `travis`.
- Added `.ci/` folder for continuous integration, refactored `utils/` folder.
- Everything is `shellcheck`ed (except `tests/`).
## Version 0.2.0
- Added `changes` command to see the difference between current version of the hidden files and the commited one
### Features
- Added `changes` command to see the difference between current version of the hidden files and the committed one
- Added `-f` option to the `reveal` command to remove prompts
- Changed the way files were decrypted, now it is a separate function
### Bugfixes
- Some bugs are fixed
### Misc
- New installation instructions
- Changed the way files were decrypted, now it is a separate function
## Version 0.1.2
### Features
- Added `-i` option to the `git-secret-add` command, which auto adds unignored files to the `.gitignore`
- Documentation improved with `Configuration` section
- Added extra tests: for custom filenames and new features
- `Makefile` improvements with `.PHONY` and `install` target
### Misc
- `.github` templates added
- Documentation improved with `Configuration` section
- `Makefile` improvements with `.PHONY` and `install` target
- Added extra tests: for custom filenames and new features
## Version 0.1.1
### Features
- Added `--dry-run` option to the `git secret` command, which prevents any actions.
- Now `install_full_fixture()` returns a fingerprint
- Now `uninstall_full_fixture()` receives two args
- Fixed bug, when tests were failing with `gpg2`
- New travis strategy: testing both `gpg` and `gpg2`
### Misc
- Removed animation from docs, now using `asciinema.org`
- `install_full_fixture()` returns a fingerprint
- `uninstall_full_fixture()` receives two args
- Fixed bug when tests were failing with `gpg2`
- New travis strategy: testing both `gpg` and `gpg2`
## Version 0.1.0
- Initial release
### Features
- Implementation of git secret add
- Implementation of git secret clean, with -v option
- Implementation of git secret hide, with -c 'clean' and -v option
- Implementation of git secret init
- Implementation of git secret killperson
- Implementation of git secret list
- Implementation of git secret remove, with -c option
- Implementation of git secret reveal, with -d homedir and -p passphrase options
- Implementation of git secret tell, with -m email and -d homedir options
- Implementation of git secret usage

View File

@ -2,104 +2,216 @@
Your contributions are always welcome!
## Getting started
1. Create your own or pick an opened issue from the [tracker](https://github.com/sobolevn/git-secret/issues). Take a look at the [`help-wanted` tag](https://github.com/sobolevn/git-secret/labels/help%20wanted)
2. Fork the git-secret repo and then clone the repository using a command like `git clone https://github.com/${YOUR_NAME}/git-secret.git`
3. Make sure that everything works on the current platform by running `make test`.
You can also try the experimental `SECRETS_TEST_VERBOSE=1 make test`, which will
show you a lot of debug output while the tests are running.
Note that 'experimental' features may change or be removed in a future version of `git-secret`.
4. If you want to test on multiple operating systems just push your PR, GitHub Actions will cover everything else
Basically, our `make` file is the only thing you will need to work with this repo.
## Process
### Environment
Before starting make sure you have:
For development of `git-secret` you should have these tools locally:
- git
- bash
- bundler
- docker
- gawk
- gnupg (or gnupg2)
- ruby
- sha256sum
- [shellcheck](https://github.com/koalaman/shellcheck)
- test-kitchen
- gnupg (or gnupg2), see below if not packaged by your distribution/OS (i.e. MacOS)
- sha256sum (on freebsd and MacOS `shasum` is used instead)
- make
Only required if dealing with manuals, `gh-pages` or releases:
To test `git-secret` you will need:
- ruby, ruby-dev
- [docker](https://www.docker.com/)
### Getting started
### Code style
1. Create your own or pick an opened issue from the [tracker][tracker]. Take a look at the [`help-wanted` tag][help-wanted]
2. Fork and clone your repository: `git clone https://github.com/${YOUR_NAME}/git-secret.git`
3. Make sure that everything works on the current platform by running `make test`
4. [Run local CI tests](#running-local-ci-tests) to verify functionality on supported platforms `bundle exec kitchen verify --test-base-path="$PWD/.ci/integration"`.
New features and changes should aim to be as clear, concise, simple, and consistent
1. clear: make it as obvious as possible what the code is doing
2. concise: your PR should be as few characters (not just lines) of changes as _reasonable_.
However, generally choose clarity over being concise.
Clarity and conciseness can be in conflict with each other. But
it's more important for the code to be understandable than for it to be small.
Therefore favor writing clear code over making shorter diffs in your PRs.
3. simple: this dovetails with the previous two items.
git-secret is a security product, so it's best to have the code be easy to understand.
This also aids future development and helps minimize bugs.
4. consistent: Write code that is consistent with the surrounding code and the rest of the git-secret code base.
Every code base has its own conventions and style that develop and accrete over time.
Consistency also means that the inputs and outputs of git-secret should be as consistent as reasonable
with related Unix and git tools, and follow the 'rule of least surprise',
also known as the 'principle of least astonishment': <https://en.wikipedia.org/wiki/Principle_of_least_astonishment>
We wrote this to clarify our thinking about how git-secret should be written. Of course, these are philosophical goals,
not necessities for releasing code, so balancing these four ideals _perfectly_ is both unwarranted and impossible.
### Writing PRs
If you're planning a large change to `git-secret` (for example, a lot of lines/characters of diffs, affecting multiple commands,
changing/adding a lot of behavior, or adding multiple command-line options), it's best to discuss the changes in an Issue first.
Also it's often best to implement larger or complex changes as a series of planned-out, smaller PRs,
each making a small set of specific changes. This facilitates discussions of implementation, which often come to light
only after seeing the actual code used to perform a task.
As mentioned above, we seek to be consistent with surrounding git and Unix tools, so when writing changes to git-secret,
think about the input, output, and command-line options that similar Unix commands use.
Our favor toward traditional Unix and git command-style inputs and outputs can also mean it's appropriate to
lean heavily on git and widely-used Unix command features instead of re-implementing them in code.
### Development Process
1. Firstly, you will need to setup development hooks with `make install-hooks`
2. Make changes to the files that need to be changed
3. When making changes to any files inside `src/` you will need to rebuild the binary `git-secret` with `make clean && make build` command
4. Run [`shellcheck`][shellcheck] against all your changes with `make lint`
5. Now, add all your files to the commit with `git add --all` and commit changes with `git commit`, make sure you write a good message, which will explain your work
6. When running `git commit` the tests will run automatically, your commit will be canceled if they fail
7. Push to your repository, make a pull-request against `develop` branch. Please, make sure you have **one** commit per pull-request, it will be merge into one anyways
1. Make changes to the git secret files that need to be changed
2. When making changes to any files inside `src/`, for changes to take effect you will need to rebuild the `git-secret` script with `make clean && make build`
3. Run `shellcheck` against all your changes with `make lint`.
You should also check your changes for spelling errors using 'aspell -c filename'.
4. Add an entry to CHANGELOG.md, referring to the related issue # if appropriate
5. Change the `man` source file(s) (we write them in markdown) in `man/man1` and `man/man7` to document your changes if appropriate
6. Now, add all your files to the commit with `git add --all` and commit changes with `git commit`.
Write a good commit message which explains your work
7. When running `git commit` the tests will run automatically, your commit will be canceled if they fail.
You can run the tests manually with `make clean build test`.
8. Push to your repository, and make a pull-request against `master` branch. It's ideal to have one commit per pull-request,
but don't worry, it's easy to `squash` PRs into a small number of commits when they're merged.
### Branches
We have three long-live branches: `master`, `develop` and `gh-pages` for static site.
We have two long-live branches: `master` for the git-secret code and man pages, and `gh-pages` for the static web site.
The `gh-pages` branch tracks the `master` branch's `docs` folder, and is kept up-to-date using a GitHub Action.
It basically looks like that:
Development looks like this:
> `your-branch` -> `develop` -> `master`
> `your-branch` -> `master`
- `master` branch is protected. So only fully tested code goes there. It is also used to create a new `git` tag and a `github` release
- `develop` is where the development is done and the branch you should send your pull-requests to
- `master` branch is protected, so only fully tested code goes there. It is also used to create a new `git` tag and a `github` release
### Continuous integration
By convention, you can name your branches like `issue-###-short-description`, but that's not required.
The `gh-pages` branch is used for the pages at `git-secret.io`. See 'Release Process' below.
Local CI is done with the help [`test-kitchen`](http://kitchen.ci/). `test-kitchen` handles multiple test-suites on various platforms.
`bundle exec kitchen list` will output the list of test suites to be run aginst supported platforms.
### Writing tests
Cloud CI is done with the help of `travis`. `travis` handles multiple environments:
`git-secret` uses [bats-core](https://github.com/bats-core/bats-core) for testing.
See the files in tests/ and the `bats-core` documentation for details.
- `Docker`-based jobs or so-called 'integration tests', these tests create a local release, install it with the package manager and then run unit-tests and system checks
- `OSX` jobs, which handle basic unit-tests on `OSX`
- Native `travis` jobs, which handle basic unit-tests and stylechecks
### Running local ci-tests
1. Install requied gems with `bundle install`.
2. Run ci-tests with `bundle exec kitchen verify --test-base-path="$PWD/.ci/integration"`
Because the output of many commands can be affected by the SECRETS_VERBOSE environment
variable (which enables verbosity), it's best not to expect a particular number of lines of
output from commands.
### Release process
The release process is defined in the `git`-hooks and `.travis.yml`.
To create a new release, (you'll first need permission to commit to the repo, of course):
When creating a commit inside the `master` branch (it is usually a documentation and changelog update with the version bump inside `src/version.sh`) it will trigger two main events.
Update the content of `CHANGELOG.md` for the release (this should be a matter of changing headers),
and update the version string in `src/version.sh`.
Firstly, new manuals will be created and added to the current commit with `make build-man` on `pre-commit` hook.
When creating a commit inside the `master` branch (it is usually a documentation and changelog update with the version bump inside `src/version.sh`).
Secondly, after the commit is successfully created it will also trigger `make build-gh-pages` target on `post-commit` hook, which will push new manuals to the [git-secret site][git-secret-site]. And the new `git` tag will be automatically created if the version is changed:
Then, push your code to GitHub. It will start the CI.
After all the checks have executed, GitHub Actions will test and build releases for specific platforms.
While CI is doing it's building and testing, finish the release on github by pushing the new tag with:
```bash
if [[ "$NEWEST_TAG" != "v${SCRIPT_VERSION}" ]]; then
git tag -a "v${SCRIPT_VERSION}" -m "version $SCRIPT_VERSION"
fi
git push --tags
```
#### Travis releases
and then go to https://github.com/sobolevn/git-secret/releases to see that the new release is created. It might take some time.
When creating a commit inside `master` branch, `travis` on successful build will publish new `deb` and `rpm` packages to [`bintray`][bintray].
#### GitHub automated releases
If you wish to override a previous release (*be careful*) you will need to add `"override": 1` into `matrixParams`, see `deb-deploy.sh` and `rpm-deploy.sh`
We use GitHub actions to run the release process.
We use `artifactory` as an environment for the release.
You would need to get a review before release would be possible.
It can be reproduced locally with `make release`, but you will need `SECRETS_ARTIFACTORY_CREDENTIALS`.
After packages are released to https://gitsecret.jfrog.io we trigger `release-ci` workflow to test that installation works correctly.
#### Manual releases
Releases to `brew` are made manually.
Releases to `brew` are made manually, and involve opening a PR on the [Homebrew Core](https://github.com/Homebrew/homebrew-core) repo .
To get started, see the
[Homebrew docs about Formulae-related PRs](https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request#formulae-related-pull-request)
and `brew bump-formula-pr --help`
#### Dockerhub releases
### Downstream Packages
[`Dockerhub`][Dockerhub] contains `Docker` images with different OS'es used for testing. It is updated via a `github` webhook on commit into `master`.
There are several distributions and packaging systems that may already have git-secret packaged for your distribution (although sometimes their versions are not the most current, and we recommend all users upgrade to 0.2.5 or above).
[tracker]: https://github.com/sobolevn/git-secret/issues
[help-wanted]: https://github.com/sobolevn/git-secret/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
[shellcheck]: https://github.com/koalaman/shellcheck
[git-secret-site]: http://git-secret.io
[bintray]: https://bintray.com/sobolevn
[Dockerhub]: https://hub.docker.com/r/sobolevn/git-secret/
### Notes to Downstream Packagers (Those who make packages for specific OSes/distributions)
First of all, thank you for packaging git-secret for your platform! We appreciate it.
We also would like to welcome you to collaborate or discuss any issues, ideas or thoughts you have about
git-secret by submitting [issue report](https://github.com/sobolevn/git-secret/issues)
(which can also be feature requests) or
[pull requests](https://help.github.com/en/articles/creating-a-pull-request)
via the git repo at
[git-secret on github](https://github.com/sobolevn/git-secret)
Please let us know if there are any changes you'd like to see to the source,
packaging, testing, documentation, or other aspect of git-secret.
We look forward to hearing from you.
## About GnuPG
Here are some links to gnupg documentation that might be useful for those working with git-secret:
- [GnuPG PDF Documentation](https://www.gnupg.org/documentation/manuals/gnupg.pdf)
- [GnuPG doc/DETAILS File](https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob;f=doc/DETAILS)
## Financial contributions
We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/git-secret).
Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.
## Credits
### Contributors
Thank you to all the people who have already contributed
to `git-secret` via commits to our git repository!
[![List of contributors](https://opencollective.com/git-secret/contributors.svg?width=890&button=0)](https://github.com/sobolevn/git-secret/contributors)
### Backers
Thank you to all our backers! [[Become a backer](https://opencollective.com/git-secret#backer)]
<object type="image/svg+xml" data="https://opencollective.com/git-secret/tiers/backer.svg?avatarHeight=36&width=600" style="max-width: 100%;"></object>
### Sponsors
Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/git-secret#sponsor))
<object type="image/svg+xml" data="https://opencollective.com/git-secret/tiers/sponsor.svg?avatarHeight=36&width=600" style="max-width: 100%;"></object>

View File

@ -1,7 +0,0 @@
source 'https://rubygems.org'
gem 'test-kitchen'
gem 'serverspec'
gem 'kitchen-ansible'
gem 'kitchen-docker'
gem 'kitchen-verifier-serverspec'

259
Makefile
View File

@ -1,14 +1,11 @@
SHELL:=/usr/bin/env bash
SHELL:=bash
PREFIX?="/usr"
DESTDIR?=
#
# Building:
#
git-secret: src/version.sh src/_utils/* src/commands/* src/main.sh
@cat $^ > "$@"; \
chmod +x git-secret; sync
.PHONY: all
all: build
@ -17,152 +14,164 @@ clean:
@rm -f git-secret
.PHONY: build
build: git-secret
build:
@cat src/version.sh > git-secret
@cat src/_utils/*.sh src/commands/*.sh >> git-secret
@cat src/main.sh >> git-secret
@chmod +x git-secret; sync
.PHONY: install
install:
@chmod +x "./utils/install.sh"; sync; \
"./utils/install.sh" "${PREFIX}"
"${SHELL}" ./utils/install.sh "${DESTDIR}${PREFIX}"
.PHONY: uninstall
uninstall:
@chmod +x "./utils/uninstall.sh"; sync; \
"./utils/uninstall.sh" "${PREFIX}"
"${SHELL}" ./utils/uninstall.sh "${DESTDIR}${PREFIX}"
#
# Testing:
# Testing and linting:
#
.PHONY: install-test
install-test:
@if [ ! -d "vendor/bats" ]; then \
git clone https://github.com/sstephenson/bats.git vendor/bats; fi
# The $(shell echo $${PWD}) construct is to access *nix paths under windows
# Under git for windows '$PATH' is set to windows paths, e.g. C:\Something
# Using a sub-shell we get the raw *nix paths, e.g. /c/Something
.PHONY: test
test: install-test clean build
@chmod +x "./utils/tests.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
export PATH="${PWD}/vendor/bats/bin:${PWD}:${PATH}"; \
"./utils/tests.sh"
test: clean build
export SECRETS_PROJECT_ROOT="$(shell echo $${PWD})"; \
export PATH="$(shell echo $${PWD})/vendor/bats-core/bin:$(shell echo $${PWD}):$(shell echo $${PATH})"; \
"${SHELL}" ./utils/tests.sh
# We use this script in CI and you can do this too!
# What happens here?
# 1. We pass `SECRETS_DOCKER_ENV` variable into this job
# 2. Based on it, we select a proper `docker` image to run test on
# 3. We execute `make test` inside the `docker` container
.PHONY: docker-ci
docker-ci: clean
@[ -z "${SECRETS_DOCKER_ENV}" ] \
&& echo 'SECRETS_DOCKER_ENV is unset' && exit 1 || true
docker build \
-f ".ci/docker-ci/$${SECRETS_DOCKER_ENV}/Dockerfile" \
-t "gitsecret-$${SECRETS_DOCKER_ENV}:latest" .
docker run --rm \
--volume="$${PWD}:/code" \
-w /code \
"gitsecret-$${SECRETS_DOCKER_ENV}" \
make test
.PHONY: lint-shell
lint-shell:
docker pull koalaman/shellcheck:latest
docker run \
--volume="$${PWD}:/code" \
-w /code \
-e SHELLCHECK_OPTS='-s bash -S style -a' \
--rm koalaman/shellcheck \
$$(find src .ci utils tests docs -type f \
-name '*.sh' -o -name '*.bash' -o -name '*.bats')
.PHONY: lint-docker
lint-docker:
docker pull hadolint/hadolint:latest-alpine
docker run \
--volume="$${PWD}:/code" \
-w /code \
--rm hadolint/hadolint \
hadolint \
--ignore=DL3008 --ignore=DL3018 --ignore=DL3041 --ignore=DL3028 \
.ci/*/**/Dockerfile
.PHONY: lint
lint: lint-shell lint-docker
#
# Manuals:
# Manuals and docs:
#
.PHONY: install-ronn
install-ronn:
@if [ ! `gem list ronn -i` == "true" ]; then gem install ronn; fi
.PHONY: clean-man
clean-man:
@find "man/" -type f ! -name "*.ronn" -delete
@find "man/" -type f ! -name "*.md" -delete
.PHONY: build-man
build-man: install-ronn clean-man
@ronn --roff --organization="sobolevn" --manual="git-secret" man/*/*.ronn
build-man: build
docker pull msoap/ruby-ronn
export GITSECRET_VERSION="$$(./git-secret --version)" && docker run \
--volume="$${PWD}:/code" \
-w /code \
--rm msoap/ruby-ronn \
ronn --roff \
--organization=sobolevn \
--manual="git-secret $${GITSECRET_VERSION}" \
man/*/*.md
.PHONY: build-gh-pages
build-gh-pages:
@chmod +x "./utils/gh-branch.sh"; sync; \
"./utils/gh-branch.sh"
.PHONY: build-docs
build-docs: build-man
"${SHELL}" docs/build.sh
#
# Development:
#
.PHONY: docs
docs: build-docs
docker pull jekyll/jekyll
docker run \
--volume="$${PWD}/docs:/code" \
-w /code \
-p 4000:4000 \
--rm jekyll/jekyll \
jekyll serve --safe --strict_front_matter
.PHONY: install-hooks
install-hooks:
@ln -fs "${PWD}/utils/hooks/pre-commit.sh" "${PWD}/.git/hooks/pre-commit"; \
chmod +x "${PWD}/.git/hooks/pre-commit"; sync; \
ln -fs "${PWD}/utils/hooks/post-commit.sh" "${PWD}/.git/hooks/post-commit"; \
chmod +x "${PWD}/.git/hooks/post-commit"; sync
.PHONY: develop
develop: clean build install-hooks
.PHONY: lint
lint:
@find src utils -type f -name '*.sh' -print0 | xargs -0 -I {} shellcheck {}
.PHONY: changelog
changelog:
@[ -z "${GITHUB_REPOSITORY}" ] \
&& echo 'GITHUB_REPOSITORY is unset' && exit 1 || true
@[ -z "${GITHUB_TOKEN}" ] \
&& echo 'GITHUB_TOKEN is unset' && exit 1 || true
docker pull githubchangeloggenerator/github-changelog-generator
docker run \
--volume="$${PWD}:/code" \
-w /code \
--entrypoint='' \
-e GITHUB_REPOSITORY \
-e GITHUB_TOKEN \
--rm githubchangeloggenerator/github-changelog-generator \
sh ".ci/github_release_script.sh"
#
# Packaging:
#
.PHONY: install-fpm
install-fpm:
@if [ ! `gem list fpm -i` == "true" ]; then gem install fpm; fi
.PHONY: build-release
build-release: clean build-man
@[ -z "${SECRETS_RELEASE_TYPE}" ] \
&& echo 'SECRETS_RELEASE_TYPE is unset' && exit 1 || true
docker build \
-f ".ci/releaser/alpine/Dockerfile" \
-t "gitsecret-releaser:latest" .
docker run \
--volume="$${PWD}:/code" \
--rm gitsecret-releaser \
bash "./utils/$${SECRETS_RELEASE_TYPE}/build.sh"
# .apk:
.PHONY: release
release: build-release
@[ -z "${SECRETS_ARTIFACTORY_CREDENTIALS}" ] \
&& echo 'SECRETS_ARTIFACTORY_CREDENTIALS is unset' && exit 1 || true
docker run \
--volume="$${PWD}:/code" \
-e SECRETS_ARTIFACTORY_CREDENTIALS \
-e SECRETS_DEPLOY_DRY_RUN \
--rm gitsecret-releaser \
bash "./utils/$${SECRETS_RELEASE_TYPE}/deploy.sh"
.PHONY: build-apk
build-apk: clean build install-fpm
@chmod +x "./utils/build-utils.sh"; sync; \
chmod +x "./utils/apk/apk-build.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
"./utils/apk/apk-build.sh"
.PHONY: test-apk-ci
test-apk-ci: install-test build-apk
@chmod +x "./utils/apk/apk-ci.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
export PATH="${PWD}/vendor/bats/bin:${PATH}"; \
"./utils/apk/apk-ci.sh"
.PHONY: deploy-apk
deploy-apk: build-apk
@chmod +x "./utils/apk/apk-deploy.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
"./utils/apk/apk-deploy.sh"
# .deb:
.PHONY: build-deb
build-deb: clean build install-fpm
@chmod +x "./utils/build-utils.sh"; sync; \
chmod +x "./utils/deb/deb-build.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
"./utils/deb/deb-build.sh"
.PHONY: test-deb-ci
test-deb-ci: install-test build-deb
@chmod +x "./utils/deb/deb-ci.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
export PATH="${PWD}/vendor/bats/bin:${PATH}"; \
"./utils/deb/deb-ci.sh"
.PHONY: deploy-deb
deploy-deb: build-deb
@chmod +x "./utils/deb/deb-deploy.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
"./utils/deb/deb-deploy.sh"
# .rpm:
.PHONY: build-rpm
build-rpm: clean build install-fpm
@chmod +x "./utils/build-utils.sh"; sync; \
chmod +x "./utils/rpm/rpm-build.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
"./utils/rpm/rpm-build.sh"
.PHONY: test-rpm-ci
test-rpm-ci: install-test build-rpm
@chmod +x "./utils/rpm/rpm-ci.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
export PATH="${PWD}/vendor/bats/bin:${PATH}"; \
"./utils/rpm/rpm-ci.sh"
.PHONY: deploy-rpm
deploy-rpm: build-rpm
@chmod +x "./utils/rpm/rpm-deploy.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
"./utils/rpm/rpm-deploy.sh"
# make:
.PHONY: test-make-ci
test-make-ci: clean install-test
@chmod +x "./utils/make/make-ci.sh"; sync; \
export SECRET_PROJECT_ROOT="${PWD}"; \
export PATH="${PWD}/vendor/bats/bin:${PATH}"; \
"./utils/make/make-ci.sh"
.PHONY: release-ci
release-ci:
@[ -z "${SECRETS_RELEASE_ENV}" ] \
&& echo 'SECRETS_RELEASE_ENV is unset' && exit 1 || true
@[ -z "${SECRETS_RELEASE_TYPE}" ] \
&& echo 'SECRETS_RELEASE_TYPE is unset' && exit 1 || true
docker build \
-f ".ci/release-ci/$${SECRETS_RELEASE_ENV}/Dockerfile" \
-t "gitsecret-release-$${SECRETS_RELEASE_ENV}:latest" .
docker run --rm \
--volume="$${PWD}:/code" \
-w /code \
"gitsecret-release-$${SECRETS_RELEASE_ENV}" \
bash -c "set -e; bash "./utils/$${SECRETS_RELEASE_TYPE}/install.sh""

View File

@ -1,27 +1,40 @@
# git-secret
[![Build Status](https://img.shields.io/travis/sobolevn/git-secret/master.svg)](https://travis-ci.org/sobolevn/git-secret) [![Homebrew](https://img.shields.io/homebrew/v/git-secret.svg)](http://braumeister.org/formula/git-secret) [![Bintray deb](https://img.shields.io/bintray/v/sobolevn/deb/git-secret.svg)](https://bintray.com/sobolevn/deb/git-secret/view) [![Dockerhub](https://img.shields.io/docker/pulls/sobolevn/git-secret.svg)](https://hub.docker.com/r/sobolevn/git-secret/)
[![git-secret](https://raw.githubusercontent.com/sobolevn/git-secret/gh-pages/images/git-secret-big.png)](http://git-secret.io/)
[![test](https://github.com/sobolevn/git-secret/actions/workflows/test.yml/badge.svg?branch=master&event=push)](https://github.com/sobolevn/git-secret/actions/workflows/test.yml)
[![release-ci](https://github.com/sobolevn/git-secret/actions/workflows/release-ci.yml/badge.svg)](https://github.com/sobolevn/git-secret/actions/workflows/release-ci.yml)
[![Homebrew](https://img.shields.io/homebrew/v/git-secret.svg)](https://formulae.brew.sh/formula/git-secret)
[![Supporters](https://img.shields.io/opencollective/all/git-secret.svg?color=gold&label=supporters)](https://opencollective.com/git-secret)
[![git-secret](https://raw.githubusercontent.com/sobolevn/git-secret/gh-pages/images/git-secret-big.png)](https://git-secret.io/)
## What is `git-secret`?
`git-secret` is a bash tool to store your private data inside a git repo. Hows that? Basically, it just encrypts, using `gpg`, the tracked files with the public keys of all the users that you trust. So everyone of them can decrypt these files using only their personal secret key. Why deal with all this private-public keys stuff? Well, to make it easier for everyone to manage access rights. There are no passwords that change. When someone is out - just delete their public key, re-encrypt the files, and they wont be able to decrypt secrets anymore.
`git-secret` is a bash tool which stores private data inside a git repo.
`git-secret` encrypts files with permitted users' public keys,
allowing users you trust to access encrypted data using pgp and their secret keys.
With `git-secret`, changes to access rights are simplified, and private-public key issues are handled for you.
When someone's permission is revoked, secrets do not need to be changed with `git-secret` -
just remove their key from the repo's keyring using `git secret removeperson their@email.com`,
re-encrypt the files, and they won't be able to decrypt secrets anymore.
If you think the user might have copied the secrets or keys when they had access, then
you should also change the secrets.
## Preview
[![git-secret terminal preview](https://asciinema.org/a/41811.png)](https://asciinema.org/a/41811?autoplay=1)
[![git-secret terminal preview](git-secret.gif)](https://asciinema.org/a/41811?autoplay=1)
## Installation
`git-secret` supports `brew`, just type: `brew install git-secret`
`git-secret` [supports `brew`](https://formulae.brew.sh/formula/git-secret), just type: `brew install git-secret`
It also supports `apt` and `yum`. You can also use `make` if you want to.
See the [installation section](http://git-secret.io/installation) for the details.
See the [installation section](https://sobolevn.me/git-secret/installation) for the details.
### Requirements
@ -31,12 +44,13 @@ See the [installation section](http://git-secret.io/installation) for the detail
- `gawk` since `4.0.2`
- `git` since `1.8.3.1`
- `gpg` since `gnupg 1.4` to `gnupg 2.X`
- `sha256sum` since `8.21`
- `sha256sum` since `8.21` (on freebsd and MacOS `shasum` is used instead)
## Contributing
Do you want to help the project? Find an [issue](https://github.com/sobolevn/git-secret/issues) and send a PR. It is more than welcomed! See [CONTRIBUTING.md](CONTRIBUTING.md) on how to do that.
Do you want to help the project? Find an [issue](https://github.com/sobolevn/git-secret/issues)
and send a PR. It is more than welcomed! See [CONTRIBUTING.md](CONTRIBUTING.md) on how to do that.
### Security
@ -49,12 +63,54 @@ If your secret file holds more data than just a single password these
precautions should not be necessary, but could be followed for greater
security.
If you found any security related issues, please do not enclose it in public. Send an email to `security@wemake.services`
If you found any security related issues, please do not disclose it in public. Send an email to `mail@sobolevn.me`
## Changelog
`git-secret` uses semver. See [CHANGELOG.md](CHANGELOG.md).
`git-secret` uses [semver](https://semver.org/). See [CHANGELOG.md](CHANGELOG.md).
## Packagers
Thanks to all the people and groups who package `git-secret` for easier install on particular OSes and distributions!
[![Packaging status](https://repology.org/badge/vertical-allrepos/git-secret.svg)](https://repology.org/project/git-secret/versions)
Here are some packagings of `git-secret` that we're aware of:
- https://formulae.brew.sh/formula/git-secret
- https://packages.ubuntu.com/bionic/git-secret
- https://src.fedoraproject.org/rpms/git-secret
- https://aur.archlinux.org/packages/git-secret/
- https://pkgs.alpinelinux.org/package/edge/testing/x86/git-secret
- https://packages.debian.org/sid/git-secret
- https://github.com/void-linux/void-packages/blob/master/srcpkgs/git-secret/template
Such packages are considered 'downstream' because the git-secret code 'flows' from the `git-secret` [repository](https://git-secret.io/installation)
to the various rpm/deb/dpkg/etc packages that are created for specific OSes and distributions.
We have also added notes specifically for packagers in [CONTRIBUTING.md](CONTRIBUTING.md).
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/git-secret#sponsor)]
[![Sponsors](https://opencollective.com/git-secret/tiers/sponsor.svg?width=890)](https://opencollective.com/git-secret)
## Backers
Thanks to all our backers!
[![Backers](https://opencollective.com/git-secret/tiers/backer.svg?width=890&avatarHeight=36)](https://opencollective.com/git-secret)
## Contributors
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="https://github.com/sobolevn/git-secret/graphs/contributors"><img src="https://opencollective.com/git-secret/contributors.svg?width=890" /></a>
## License

142
RFC/RFC001.md Normal file
View File

@ -0,0 +1,142 @@
# RFC 0001 - A stable and forwards compatible public key storage format
**Feature Name:** Stable public key storage
**Status:** Final
**Type:** Enhancement
**Related components:** Core
**Start Date:** 2018-06-14
**Author:** Simon Massey
**GitHub issues:**
* #136 GnuPG2 2.2 vs 2.1 conflicts in keybox format
## Summary
A new internal public key storage format that avoids forwards compatibility issues between GPG releases. This proposal will keep forwards compatibility with older versions of git-secret.
## Motivation
GPG maintains backwards compatibility but not forwards compatibility. Running a new GPG version can and will upgrade the keyring storage files in a way that is not recognized by older versions of GPG. This is not normally a problem for typical GPG usage. Users will upgrade and rarely downgrade. It is a problem for git-secret as the keyring storage is committed to git and shared between users. Someone using an older version of GPG can no longer open the upgraded keyring file.
## Approach
git-secret will move away from using the keyring format as shared storage of public keys. Instead, it will store public keys as exported keys in ASCII armor format. The public key export format is stable and forwards compatible. GPG users will typically be running different GPG or PGP versions and are able to exchange keys successfully. Bugs that affect git-secret's ability to use exported public keys will likely affect typical GPG key exchange usage. Such bugs are likely to be caught and fixed by the wider open source community.
git-secret may need to store and process meta-data about keys to make it efficient to work with keys that are stored within individual files. It will use the machine-readable ["colon listings format"](https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS) for this purpose.
It is anticipated that `bash` and `gawk` will be sufficient to work efficiently with the new file formats.
## Design
The new storage format will be implemented as follows:
1. Keys will be stored in `~/.gitsecret/keys` in `gpg --armor --export` format. The use of ASCII armor rather than binary format is to make debugging of key related issues easier. The filename of the key will be `<keyid>.pub.gpg` (using Field 5 the "64-bit keyid" of the colon listings format)
1. Key meta data will be stored alongside the key file in the `gpg --keyid-format long --with-colons` format. The file name will be `<keyid>.pub.cln`
1. A folder `~/.gitsecret/cache` will be added to `.gitignore`. At this location, a public keyring will be maintained on a per user bases and won't be shared between users. This is simply a "keyring cache" of the keys used to encrypt files.
git-secret-tell will:
1. Scan the set of `*.pub.cln` files to find all currently told identities. If the given identity is in the list do nothing.
1. If the given identity isn't listed run `gpg --armor --export` against the users `$HOME` keyring to create the `<key-id>.pub.gpg`.
1. Run `--keyid-format long --with-colons` of the exported key to create the `<key-id>.pub.cln`.
Note that the additional steps to ensure that older versions of git-secret know about the newly told identity will be outlined below.
git-secret-hide will:
1. Extract the list of "64-bit keyid"s who are told from the `*.pub.cln` files. Note that multiple identities can be listed against each key.
1. Checked this against the list of "64-bit keyid"s in the "keyring cache" at `~/.gitsecret/cache`.
1. Import any missing keys into the "keyring cache". It is anticipated that `gawk` will be sufficient to perform this calculation.
1. Run the current logic using the "keyring cache".
Note that the additional steps to ensure that older versions of git-secret know about the newly told user will be outlined below.
git-secret-whoknows will:
1. The list of identities will be loaded by parsing the `.pub.cln` files. Note that multiple identities can be listed against each key.
git-secret-usage will:
1. Document the git-secret-migrate command discussed in the next section.
git-secret-reveal will:
* Be unchanged.
git-secret-remove will:
* Be unchanged.
git-secret-list will:
* Be unchanged.
git-secret-killperson will:
1. Remove the key from the keyring cache.
1. Delete both `<key-id>.pub.gpg` and `<key-id>.pub.cln` files.
git-secret-init will:
1. Add `~/.gitsecret/cache` into `.gitignore`.
1. Run any current logic using the ignored "keyring cache".
git-secret-clean will:
* Be unchanged.
git-secret-changes will:
1. Show differences the `<key-id>.pub.gpg` and `<key-id>.pub.cln` files in `~/.gitsecret/keys`.
git-secret-add will:
* Be unchanged.
A new command git-secret-migrate will:
1. Create the folder `~/.gitsecret/cache` and add it to the `.gitignore` file.
1. Extract all keys from the old keyring generating `<key-id>.pub.gpg` and `<key-id>.pub.cln` files in `~/.gitsecret/keys`
## Version Compatibility
Backwards compatibility will the old keyring storage approach will be maintained as follows:
1. For each changed command a guard will be added that checks for the existence of `.gitsecret/cache`.
1. If the folder exists it proceeds as normal.
1. If it does not exist it will report that the repo was initialized by an older version of git-secret and tell the user to run git-secret-migrate
Forwards compatibility with older versions of git-secret will be maintained as follows.
git-secret-hide will:
1. Have a guard that will check for the existence of the old keyring. If it exists it will check it for any new public keys and extract them into the new format prior to running.
git-secret-tell will:
1. Will check for the existence of the old keyring. If it exists it will load the new public key into it.
git-secret-killperson
1. Will check for the existence of the old keyring. If it exists it will delete the user from it.
## Drawbacks
To maintain forward compatibility the approach requires the existing logic to kept working for a period of time. We can give a deprecated warning if the forwards compatibility logic is running. The warning can be suppressed using a command-line flag.
## Alternatives
What other designs have been considered? Unknown.
What is the impact of not doing this? Team members are locked out of secrets when only one other team member upgrades GPG. This can go undetected until the victims needs the secrets in a hurry for production support. Bad things then happen.
## Unresolved questions
What parts of the design are still to be done? None.

6
docs/Gemfile Normal file
View File

@ -0,0 +1,6 @@
source "https://rubygems.org"
group :jekyll_plugins do
gem "jekyll", ">= 3.6.3"
gem "jekyll-seo-tag", "~> 2.8.0"
end

81
docs/Gemfile.lock Normal file
View File

@ -0,0 +1,81 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
bigdecimal (3.1.8)
colorator (1.1.0)
concurrent-ruby (1.3.4)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0-x86_64-linux-gnu)
ffi (1.17.0-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (4.28.1-x86_64-linux)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.7)
rouge (4.4.0)
safe_yaml (1.0.5)
sass-embedded (1.78.0-x86_64-linux-gnu)
google-protobuf (~> 4.27)
sass-embedded (1.78.0-x86_64-linux-musl)
google-protobuf (~> 4.27)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.8.1)
PLATFORMS
x86_64-linux
x86_64-linux-musl
DEPENDENCIES
jekyll (>= 3.6.3)
jekyll-seo-tag (~> 2.8.0)
BUNDLED WITH
2.2.2

17
docs/_config.yml Normal file
View File

@ -0,0 +1,17 @@
# Site settings
title: git-secret
email: mail@sobolevn.me
description: Shell scripts to encrypt your private data inside a git repository.
baseurl: "/git-secret" # the subpath of your site, e.g. /blog
url: "https://sobolevn.me" # the base hostname & protocol for your site
# GitHub links:
github_username: sobolevn
github_changelog: "https://github.com/sobolevn/git-secret/blob/master/CHANGELOG.md"
# Seo settings:
plugins:
- jekyll-seo-tag
# Build settings
markdown: kramdown

View File

@ -0,0 +1,33 @@
<link rel="apple-touch-icon" sizes="57x57"
href="/images/favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60"
href="/images/favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72"
href="/images/favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76"
href="/images/favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114"
href="/images/favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120"
href="/images/favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144"
href="/images/favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152"
href="/images/favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180"
href="/images/favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192"
href="/images/favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32"
href="/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96"
href="/images/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16"
href="/images/favicons/favicon-16x16.png">
<link rel="manifest" href="/images/favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage"
content="/images/favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">

View File

@ -0,0 +1,38 @@
<footer class="site-footer">
<div class="wrapper">
<h2 class="footer-heading">{{ site.title }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li><a href="http://wemake.services">wemake.services</a></li>
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
</ul>
</div>
<div class="footer-col footer-col-2">
<ul class="social-media-list">
{% if site.github_username %}
<li>
{% include icon-github.html username=site.github_username %}
</li>
{% endif %}
{% if site.twitter_username %}
<li>
{% include icon-twitter.html username=site.twitter_username %}
</li>
{% endif %}
</ul>
</div>
<div class="footer-col footer-col-3">
<p>{{ site.description }}</p>
</div>
</div>
</div>
</footer>

18
docs/_includes/head.html Normal file
View File

@ -0,0 +1,18 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical"
href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}"
href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
{% include favicons.html %}
{% seo %}
</head>

View File

@ -0,0 +1,38 @@
<header class="site-header">
<div class="wrapper">
<a class="site-title" href="{{ site.baseurl }}/">
{{ site.title }} v{% include version.txt %}
</a>
<div class="site-nav">
<a href="#" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>
<div class="trigger">
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/sobolevn/git-secret" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star git-secret on GitHub">
Star
</a>
</div>
</div>
</div>
<nav class="site-navigation">
<a href="{{ "/installation" | prepend: site.baseurl }}">Installation</a>
<a href="{{ "/#commands" | prepend: site.baseurl }}">Commands</a>
<a href="{{ "/plugins" | prepend: site.baseurl }}">External plugins</a>
<a href="{{ site.github_changelog }}">Changelog</a>
</nav>
</header>
<!-- Required for GitHub buttons. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>

View File

@ -0,0 +1,4 @@
<a href="https://github.com/{{ include.username }}">
<span class="icon icon--github">{% include icon-github.svg %}</span>
<span class="username">{{ include.username }}</span>
</a>

View File

@ -0,0 +1 @@
<svg viewBox="0 0 16 16"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>

After

Width:  |  Height:  |  Size: 926 B

View File

@ -0,0 +1,4 @@
<a href="https://twitter.com/{{ include.username }}">
<span class="icon icon--twitter">{% include icon-twitter.svg %}</span>
<span class="username">{{ include.username }}</span>
</a>

View File

@ -0,0 +1 @@
<svg viewBox="0 0 16 16"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>

After

Width:  |  Height:  |  Size: 787 B

49
docs/_includes/why.md Normal file
View File

@ -0,0 +1,49 @@
## Intro
There's a well known issue with deploying and configuring software on servers:
generally you have to store your private data
(such as database passwords, application secret-keys, OAuth secret keys, etc)
outside of the git repository.
If you do choose to store these secrets unencrypted in your git repo,
even if the repository is private, it is a security risk to copy
the secrets everywhere you check out your repo.
What are some drawbacks of storing secrets separately from your git repo?
1. These files are not version controlled.
Filenames, locations, and passwords change from time to time,
or new information appears, and other information is removed.
When secrets are stored separately from your repo,
you can not tell for sure which version of the configuration file was used with each commit
or deploy.
2. When building the automated deployment system there will be one extra step:
download and place these secret-configuration files where they need to be.
This also means you have to maintain extra secure servers where all your secrets are stored.
### How does `git-secret` solve these problems?
1. `git-secret` encrypts files and stores them inside your `git` repository, providing a history of changes for every commit.
2. `git-secret` doesn't require any extra deploy operations other than providing the appropriate
private key (to allow decryption), and using `git secret reveal`
to decrypt all the secret files.
### What is `git-secret`?
`git-secret` is a bash tool to store your private data inside a `git` repo.
How's that? Basically, it uses `gpg` to encrypt files with the
public keys of the users that you trust, and which you have specified with
`git secret tell email@address.id`.
Then these users can decrypt these files using their personal secret key.
Why deal with all this private/public key stuff?
To make it easier to manage access rights.
When you want to remove someone's access, use `git secret removeperson email@address.id`
to delete their public key from your repo's git-secret keyring, and reencrypt the files.
Then they won't be able to decrypt secrets anymore.
[![git-secret terminal preview](https://raw.githubusercontent.com/sobolevn/git-secret/master/git-secret.gif)](https://asciinema.org/a/41811?autoplay=1)

View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include header.html %}
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>
{% include footer.html %}
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>

14
docs/_layouts/page.html Normal file
View File

@ -0,0 +1,14 @@
---
layout: default
---
<article class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>
<div class="post-content">
{{ content }}
</div>
</article>

30
docs/_layouts/post.html Normal file
View File

@ -0,0 +1,30 @@
---
layout: default
---
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
{{ page.title }}
</h1>
<p class="post-meta">
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{{ page.date | date: "%b %-d, %Y" }}
</time>
{% if page.author %}
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">
{{ page.author }}
</span>
</span>
{% endif %}
</p>
</header>
<div class="post-content" itemprop="articleBody">
{{ content }}
</div>
</article>

206
docs/_sass/_base.scss Normal file
View File

@ -0,0 +1,206 @@
/**
* Reset some basic elements
*/
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
margin: 0;
padding: 0;
}
/**
* Basic styling
*/
body {
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
color: $text-color;
background-color: $background-color;
-webkit-text-size-adjust: 100%;
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
}
/**
* Set `margin-bottom` to maintain vertical rhythm
*/
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
%vertical-rhythm {
margin-bottom: $spacing-unit / 2;
}
/**
* Images
*/
img {
max-width: 100%;
vertical-align: middle;
}
/**
* Figures
*/
figure > img {
display: block;
}
figcaption {
font-size: $small-font-size;
}
/**
* Lists
*/
ul, ol {
margin-left: $spacing-unit;
}
li {
> ul,
> ol {
margin-bottom: 0;
}
}
/**
* Headings
*/
h1, h2, h3, h4, h5, h6 {
font-weight: $base-font-weight;
}
/**
* Links
*/
a {
color: $brand-color;
text-decoration: none;
&:visited {
color: darken($brand-color, 15%);
}
&:hover {
color: $text-color;
text-decoration: underline;
}
}
/**
* Blockquotes
*/
blockquote {
color: $purple-color;
border-left: 4px solid $purple-color-light;
padding-left: $spacing-unit / 2;
font-size: 18px;
letter-spacing: -1px;
font-style: italic;
> :last-child {
margin-bottom: 0;
}
}
/**
* Code formatting
*/
pre,
code {
font-size: 15px;
border: 1px solid $purple-color-light;
border-radius: 3px;
background-color: #eef;
}
code {
padding: 1px 5px;
}
pre {
padding: 8px 12px;
overflow-x: auto;
> code {
border: 0;
padding-right: 0;
padding-left: 0;
}
}
/**
* Wrapper
*/
.wrapper {
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
margin-right: auto;
margin-left: auto;
padding-right: $spacing-unit;
padding-left: $spacing-unit;
@extend %clearfix;
@include media-query($on-laptop) {
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
max-width: calc(#{$content-width} - (#{$spacing-unit}));
padding-right: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
}
}
/**
* Clearfix
*/
%clearfix {
&:after {
content: "";
display: table;
clear: both;
}
}
/**
* Icons
*/
.icon {
> svg {
display: inline-block;
width: 16px;
height: 16px;
vertical-align: middle;
path {
fill: $purple-color;
}
}
}

276
docs/_sass/_layout.scss Normal file
View File

@ -0,0 +1,276 @@
/**
* Site header
*/
.site-header {
border-top: 5px solid $purple-color-dark;
border-bottom: 1px solid $purple-color-light;
min-height: 56px;
// Positioning context for the mobile navigation icon
position: relative;
}
.site-title {
font-size: 26px;
font-weight: 300;
line-height: 56px;
letter-spacing: -1px;
margin-bottom: 0;
float: left;
&,
&:visited {
color: $purple-color-dark;
}
}
.site-nav {
@extend %clearfix;
float: right;
line-height: 56px;
.menu-icon {
display: none;
}
.page-link {
color: $text-color;
line-height: $base-line-height;
// Gaps between nav items, but not on the last one
&:not(:last-child) {
margin-right: 20px;
}
}
@include media-query($on-palm) {
position: absolute;
top: 9px;
right: $spacing-unit / 2;
background-color: $background-color;
border: 1px solid $purple-color-light;
border-radius: 5px;
text-align: right;
.menu-icon {
display: block;
float: right;
width: 36px;
height: 26px;
line-height: 0;
padding-top: 10px;
text-align: center;
> svg {
width: 18px;
height: 15px;
path {
fill: $purple-color-dark;
}
}
}
.trigger {
clear: both;
display: none;
}
&:hover .trigger, &:active .trigger {
display: block;
padding-bottom: 5px;
}
.page-link {
display: block;
padding: 5px 10px;
&:not(:last-child) {
margin-right: 0;
}
margin-left: 20px;
}
}
.trigger {
padding-top: 13px;
}
}
/**
* Site footer
*/
.site-footer {
border-top: 1px solid $purple-color-light;
padding: $spacing-unit 0;
}
.footer-heading {
font-size: 18px;
margin-bottom: $spacing-unit / 2;
}
.contact-list,
.social-media-list {
list-style: none;
margin-left: 0;
}
.footer-col-wrapper {
font-size: 15px;
color: $grey-color;
margin-left: -$spacing-unit / 2;
@extend %clearfix;
}
.footer-col {
float: left;
margin-bottom: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
}
.footer-col-1 {
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
width: calc(35% - (#{$spacing-unit} / 2));
}
.footer-col-2 {
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
width: calc(20% - (#{$spacing-unit} / 2));
}
.footer-col-3 {
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
width: calc(45% - (#{$spacing-unit} / 2));
}
@include media-query($on-laptop) {
.footer-col-1,
.footer-col-2 {
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
width: calc(50% - (#{$spacing-unit} / 2));
}
.footer-col-3 {
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
width: calc(100% - (#{$spacing-unit} / 2));
}
}
@include media-query($on-palm) {
.footer-col {
float: none;
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
width: calc(100% - (#{$spacing-unit} / 2));
}
}
/**
* Page content
*/
.page-content {
padding: $spacing-unit 0;
}
.page-heading {
font-size: 20px;
}
.post-list {
li {
margin-bottom: 10px;
}
}
.post-meta {
font-size: $small-font-size;
color: $grey-color;
}
.post-link {
display: block;
font-size: 24px;
}
/**
* Posts
*/
.post-header {
margin-bottom: $spacing-unit;
}
.post-title {
font-size: 42px;
letter-spacing: -1px;
line-height: 1;
@include media-query($on-laptop) {
font-size: 36px;
}
}
.post-content {
margin-bottom: $spacing-unit;
h2 {
font-size: 32px;
@include media-query($on-laptop) {
font-size: 28px;
}
}
h3 {
font-size: 26px;
@include media-query($on-laptop) {
font-size: 22px;
}
}
h4 {
font-size: 20px;
@include media-query($on-laptop) {
font-size: 18px;
}
}
}
/**
* Navigation
*/
.site-navigation {
@extend .wrapper;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
a {
color: $purple-color-dark;
@include media-query($on-laptop) {
flex-basis: 100%;
text-align: center;
}
}
}
/**
* Homepage
*/
.home {
.home-logo-image {
margin-top: 50px;
margin-bottom: 70px;
}
}

View File

@ -0,0 +1,71 @@
/**
* Syntax highlighting styles
*/
.highlight {
background: #fff;
@extend %vertical-rhythm;
.highlighter-rouge & {
background: #eef;
}
.c { color: #998; font-style: italic } // Comment
.err { color: #a61717; background-color: #e3d2d2 } // Error
.k { font-weight: bold } // Keyword
.o { font-weight: bold } // Operator
.cm { color: #998; font-style: italic } // Comment.Multiline
.cp { color: #999; font-weight: bold } // Comment.Preproc
.c1 { color: #998; font-style: italic } // Comment.Single
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
.gd { color: #000; background-color: #fdd } // Generic.Deleted
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
.ge { font-style: italic } // Generic.Emph
.gr { color: #a00 } // Generic.Error
.gh { color: #999 } // Generic.Heading
.gi { color: #000; background-color: #dfd } // Generic.Inserted
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
.go { color: #888 } // Generic.Output
.gp { color: #555 } // Generic.Prompt
.gs { font-weight: bold } // Generic.Strong
.gu { color: #aaa } // Generic.Subheading
.gt { color: #a00 } // Generic.Traceback
.kc { font-weight: bold } // Keyword.Constant
.kd { font-weight: bold } // Keyword.Declaration
.kp { font-weight: bold } // Keyword.Pseudo
.kr { font-weight: bold } // Keyword.Reserved
.kt { color: #458; font-weight: bold } // Keyword.Type
.m { color: #099 } // Literal.Number
.s { color: #d14 } // Literal.String
.na { color: #008080 } // Name.Attribute
.nb { color: #0086B3 } // Name.Builtin
.nc { color: #458; font-weight: bold } // Name.Class
.no { color: #008080 } // Name.Constant
.ni { color: #800080 } // Name.Entity
.ne { color: #900; font-weight: bold } // Name.Exception
.nf { color: #900; font-weight: bold } // Name.Function
.nn { color: #555 } // Name.Namespace
.nt { color: #000080 } // Name.Tag
.nv { color: #008080 } // Name.Variable
.ow { font-weight: bold } // Operator.Word
.w { color: #bbb } // Text.Whitespace
.mf { color: #099 } // Literal.Number.Float
.mh { color: #099 } // Literal.Number.Hex
.mi { color: #099 } // Literal.Number.Integer
.mo { color: #099 } // Literal.Number.Oct
.sb { color: #d14 } // Literal.String.Backtick
.sc { color: #d14 } // Literal.String.Char
.sd { color: #d14 } // Literal.String.Doc
.s2 { color: #d14 } // Literal.String.Double
.se { color: #d14 } // Literal.String.Escape
.sh { color: #d14 } // Literal.String.Heredoc
.si { color: #d14 } // Literal.String.Interpol
.sx { color: #d14 } // Literal.String.Other
.sr { color: #009926 } // Literal.String.Regex
.s1 { color: #d14 } // Literal.String.Single
.ss { color: #990073 } // Literal.String.Symbol
.bp { color: #999 } // Name.Builtin.Pseudo
.vc { color: #008080 } // Name.Variable.Class
.vg { color: #008080 } // Name.Variable.Global
.vi { color: #008080 } // Name.Variable.Instance
.il { color: #099 } // Literal.Number.Integer.Long
}

79
docs/build.sh Normal file
View File

@ -0,0 +1,79 @@
#!/usr/bin/env bash
# Should be called from the root folder, not inside `docs/` folder
# See `make build-docs`
set -e
MAN_LOCATION='man/man1'
MAN7_LOCATION='man/man7'
POSTS_LOCATION='docs/_posts'
function checkout_manuals {
cp -r man/ docs/man
}
function copy_to_posts {
# Cleaning old files:
rm -f "$POSTS_LOCATION/*.md"
rm -rf "$POSTS_LOCATION"
mkdir -p "$POSTS_LOCATION"
# Moving new command files:
local timestamp
local current_date
timestamp=$(date "+%Y-%m-%d %H:%M:%S %z")
current_date=$(date "+%Y-%m-%d")
# Creating command reference:
for com in "$MAN_LOCATION"/git-secret-*.1.md; do
local short_name
short_name=$(echo "$com" | sed -n "s|$MAN_LOCATION/\(.*\)\.1\.md|\1|p")
local command_header="---
layout: post
title: '${short_name}'
date: ${timestamp}
permalink: ${short_name}
categories: command
---"
local post_filename="$POSTS_LOCATION/${current_date}-${short_name}.md"
echo "$command_header" > "$post_filename"
cat "$com" >> "$post_filename"
done
# Creating main usage file:
local usage_header="---
layout: post
title: 'git-secret'
date: ${timestamp}
permalink: git-secret
categories: usage
---"
local usage_filename="$POSTS_LOCATION/${current_date}-git-secret.md"
echo "$usage_header" > "$usage_filename"
cat "$MAN7_LOCATION/git-secret.7.md" >> "$usage_filename"
}
function copy_install_scripts {
# We test these scripts using `release-ci`,
# so, installation instructions will always be up-to-date:
cp utils/deb/install.sh docs/_includes/install-deb.sh
cp utils/rpm/install.sh docs/_includes/install-rpm.sh
cp utils/apk/install.sh docs/_includes/install-apk.sh
}
function copy_version {
./git-secret --version > docs/_includes/version.txt
}
checkout_manuals
copy_to_posts
copy_install_scripts
copy_version

58
docs/css/main.scss Normal file
View File

@ -0,0 +1,58 @@
---
# Only the main Sass file needs front matter (the dashes are enough)
---
@charset "utf-8";
// Our variables
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-size: 16px;
$base-font-weight: 400;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
$spacing-unit: 30px;
$text-color: #111;
$background-color: #fdfdfd;
$grey-color: #828282;
$grey-color-light: lighten($grey-color, 40%);
$grey-color-dark: darken($grey-color, 25%);
$purple-color: rgb(238, 81, 59);
$purple-color-light: lighten($purple-color, 40%);
$purple-color-dark: darken($purple-color, 25%);
$brand-color: $purple-color;
// Width of the content area
$content-width: 800px;
$on-palm: 600px;
$on-laptop: 800px;
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// }
// }
@mixin media-query($device) {
@media screen and (max-width: $device) {
@content;
}
}
// Import partials from `sass_dir` (defaults to `_sass`)
@import
"base",
"layout",
"syntax-highlighting"
;

30
docs/feed.xml Normal file
View File

@ -0,0 +1,30 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More