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

Add support for specifying a custom key to be added to the trusted keys #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amiel
Copy link

@amiel amiel commented Oct 25, 2018

This should resolve #33

Add a key with the following format:

:key:name:url

For example:

:key:nginx:https://nginx.org/keys/nginx_signing.key
:key:confluent:http://packages.confluent.io/deb/4.1/archive.key

I tested this with the following Aptfile (this is @catkhuu's example and the package I got stuck on without having a key):

:key:nginx:https://nginx.org/keys/nginx_signing.key
:repo:deb http://nginx.org/packages/ubuntu/ xenial nginx
nginx-nr-agent
:key:confluent:http://packages.confluent.io/deb/4.1/archive.key
:repo:deb [arch=amd64] http://packages.confluent.io/deb/4.0 stable main
confluent-kafka-2.11
confluent-schema-registry

@amiel
Copy link
Author

amiel commented Oct 26, 2018

I'm not sure if the tests will pass without resolving #16.

@kiranpraneeth
Copy link

Thanks for fixing this. Do we plan to merge it soon into master? I am using amiels repo for now

@ckhall
Copy link

ckhall commented Aug 7, 2019

any news on a merge into master?

@dursk
Copy link

dursk commented Dec 4, 2019

This has been open for over a year, are there plans to merge it? I'm using amiel's repo for now as well.

granth added a commit to 4ormat/heroku-buildpack-apt that referenced this pull request Sep 16, 2020
@benpbolton
Copy link

This has been open for over two years now; I'm using amiel's repo as well eg.

#33 (comment)

@granth
Copy link

granth commented Jan 15, 2021

adamchainz pushed a commit to elkrange/heroku-buildpack-apt that referenced this pull request Jan 19, 2021
@adamchainz
Copy link

I'd also like to see this. I've re-resolved the conflicts with the latest master in this fork: elkrange@6cb6822 (the only conflict was around the context with the if for adding repos).

@dentarg
Copy link

dentarg commented Apr 25, 2021

@edmorley do you think there's a chance this would be accepted if conflicts were resolved?

@edmorley
Copy link
Member

@dentarg Hi! I'm not against the idea of adding support for this (it seems useful), however:

  • this buildpack's testing story is pretty lacking, which makes any change high risk
  • this buildpack isn't really owned by any team (it's an "unofficial" buildpack sadly, even though IMO it's an important buildpack)
  • focus at the moment is on Cloud Native Buildpacks (https://buildpacks.io) which would eventually make this buildpack redundant

Add a key with the following format:

    🔑name:url

For example:

    🔑nginx:https://nginx.org/keys/nginx_signing.key
    🔑confluent:http://packages.confluent.io/deb/4.1/archive.key

Co-Authored-By:  Grant Hollingworth <grant@antiflux.org>

Thank you to @4ormat for helping resolve conflicts
@amiel amiel force-pushed the feature/support-adding-keys branch from 7b924a7 to bea88ab Compare May 1, 2021 00:21
@amiel
Copy link
Author

amiel commented May 1, 2021

Ok, I've pushed an updated branch, so this should be mergeable. Thanks to @granth for dealing with the conflicts, although I have not tested the conflict-resolved version. Is someone actively using this that could test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for installing keys (i.e. apt-key add)
9 participants