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

Installed Composer version lacks public keys #5

Open
scy opened this issue Sep 30, 2018 · 1 comment
Open

Installed Composer version lacks public keys #5

scy opened this issue Sep 30, 2018 · 1 comment

Comments

@scy
Copy link
Contributor

scy commented Sep 30, 2018

To reproduce:

  1. Install Composer using TCE.
  2. Run composer diagnose.

The output will contain these lines:

Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up

Running composer self-update --update-keys expects the user to manually paste the keys from https://composer.github.io/pubkeys.html, which is an inconvenience. Also, at least the "tags" key is already included in TCE.

Suggestion: We should find out where Composer expects these keys to be and make them available automatically; at least the "tags" key.

@scy
Copy link
Contributor Author

scy commented Oct 29, 2018

On my machine, they can be found at ~/.composer/keys.{dev,tags}.pub, and the tags file contains exactly the contents of TCE's $signature_key string. So, adding the dev key to TCE (or downloading it?) and putting the files in the right places should be sufficient.

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

No branches or pull requests

1 participant