Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] - Add git-crypt #661

Open
sgleske-ias opened this issue Mar 18, 2024 · 5 comments
Open

[Package Request] - Add git-crypt #661

sgleske-ias opened this issue Mar 18, 2024 · 5 comments
Labels
enhancement New feature or request packages Package request

Comments

@sgleske-ias
Copy link

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
@daniejstriata
Copy link

It is possible to build packages like these from the Fedora or Centos Stream repos as I've done here:
https://copr.fedorainfracloud.org/coprs/faramirza/al2023/package/git-crypt/
Using Fedora COPR.

@BDFurlong
Copy link

+1 would like this package

@sgleske-ias
Copy link
Author

I normally like to also rely on GitHub releases if they're available but it doesn't provide enough cross-compiled versions.

https://github.com/AGWA/git-crypt/releases/tag/0.7.0

Ideally, for GH releases I like to see Darwin and Linux aarch64 and x86_64. git-crypt only ships Linux x86_64 and no other OS or architecture with pre-compiled binaries.

@sgleske-ias
Copy link
Author

sgleske-ias commented Mar 19, 2024

I also cross-posted a request for more binaries via GitHub releases. AGWA/git-crypt#309

I'm okay obtaining binaries directly from projects when they're available. In general, I'd like to avoid compiling if the binaries are available (compiling is okay too; just more time consuming in the Docker build process).

@daniejstriata
Copy link

If you use COPR, it creates a repo that will mostly keep itself up-to-date. Ideally Amazon should add packages but I can understand that they'd want to keep the supported package number down.

@vigh-m vigh-m added enhancement New feature or request packages Package request labels Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request packages Package request
Projects
None yet
Development

No branches or pull requests

4 participants