amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - Add git-crypt

Open sgleske-ias opened this issue 11 months ago • 5 comments

What package is missing from Amazon Linux 2023?

git-crypt is a CLI utility which is used to decrypt secrets using GPG stored within a git repo.

Is this an update to existing package or new package request?

New request because the package is missing.

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify.

Unknown, I only care about Amazon Linux 2023 and haven't looked into Amazon Linux 2.

Any additional information you'd like to include. (use-cases, etc)

If a GPG private key is available you should be able to run git crypt unlock to decrypt secret files from gitattributes.

Current (undesirable) workaround is:

dnf localinstall https://cbs.centos.org/kojifiles/packages/git-crypt/0.6.0/12.el9/x86_64/git-crypt-0.6.0-12.el9.x86_64.rpm

We have both Graviton and AMD64 infra so this solution is fragile since it relies on a source that is currently uncontrolled.

Ideally, we should just be able to run the following on both Graviton and AMD64 instances.

dnf makecache
dnf install git-crypt

sgleske-ias avatar Mar 18 '24 18:03 sgleske-ias