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

what is gpg-agent-passthrough.sh ? #1

Open
frbayart opened this issue May 18, 2018 · 4 comments
Open

what is gpg-agent-passthrough.sh ? #1

frbayart opened this issue May 18, 2018 · 4 comments

Comments

@frbayart
Copy link

I see '/opt/chrome-gpg-agent/gpg-agent-passthrough.sh' in plugins, can you share this script ?

@travisby
Copy link
Owner

Sorry, just seeing this now! I'll get a copy pushed later tonight or so.

@TheTechmage
Copy link

While you're at it, it might be a good idea to see if you can attempt to set this up on a freshly installed machine, using only the contents within this repo, and create a bare minimum set of instructions.

@travisby
Copy link
Owner

travisby commented Jun 4, 2018

I'll work on getting a better installer,

for now gpg-agent-passthrough.sh was a red herring and I think just something I was using to test (in lieu of the go binary provided in the release).

  1. move the host binary that either you compile or you copy from the release into /opt/chrome-gpg-agent/gpg-agent-passthrough.sh
  2. install https://chrome.google.com/webstore/detail/chrome-gpg-agent/bleakneiblnngmahabhdffihlgmbpnbp
  3. cp host/manifest.json ~/.config/google-chrome/NativeMessagingHosts/io.linux_fu.chrome_gpg_agent.json
  4. replace the chrome-extension URL in that last file with chrome-extension://bleakneiblnngmahabhdffihlgmbpnbp/ instead

You can test the efficacy of the plugin working by right clicking the extension's popup and going to the console, and then test signing something and it'll appear in the console logs.

This was only meant as a test of how native messaging works to see if I could later use it for lastpass; my problem being I have a smartcard and can't actually upload my key there. This in itself isn't really a polished product :).

Mind if I ask what you two are using it for? I'd be happy to make it an actual tool instead of a sandbox/playground.

@TheTechmage
Copy link

TheTechmage commented Jun 4, 2018 via email

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

No branches or pull requests

3 participants