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

Do not ask for "Local NervesHub user password" for every command #182

Open
ftes opened this issue Sep 11, 2021 · 0 comments
Open

Do not ask for "Local NervesHub user password" for every command #182

ftes opened this issue Sep 11, 2021 · 0 comments

Comments

@ftes
Copy link

ftes commented Sep 11, 2021

Problem

For every mix nerves_hub.* command, I have to enter my Local NervesHub user password.

I gather this is the passphrase for my local user certificate.

Can I avoid this?

Ideas

  1. Add passphrase to macos keychain (how?)
  2. Generate user certificate without a passphrase (how?)

Workaround

mix nerves_hub.user cert export
cd ~/nerves-hub/
tar -xvzf ./nerves_hub-certs.tar.gz
export NERVES_HUB_CERT=`cat ./cert.pem`
export NERVES_HUB_KEY=`cat ./key.pem`
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

1 participant