Comments (7)
You can read more about Keyring here https://wiki.gnome.org/Projects/GnomeKeyring/RunningDaemon. To auto unlock, you can simply add
export $(dbus-launch) && echo "your wsl password" | gnome-keyring-daemon -r --unlock --components=secrets
to your ~/.bashrc
. This will auto unlock your Keyring without having to type it in every time. I'm looking into your reordering issue.
from infisical.
Hello! I have updated the regex to be a bit more accurate when validating the email address.
For reference here is the code i pushed to update it: 3689d75
I have also pushed out a new release: https://github.com/Infisical/infisical/actions/runs/3514837815
Once the release is complete, you may reinstall or update the CLI in your package manager to receive the new change. Please let us know if you continue to have trouble.
from infisical.
Great ! The email regex is actually passing, but still having an issue for login: Unable to store your credentials in system key ring
I am using Ubuntu through WSL if that helps. WIth the old CLI (node), I had not any issue on login with the same platform.
EDIT
This is the logs i got:
ERRO[0009] Unable to store your credentials in system key ring
DEBU[0009] Unable to store user credentials:%!(EXTRA dbus.Error=The name org.freedesktop.secrets was not provided by any .service files)
from infisical.
The Keyring is used to store your login credentials securely at rest. This must be because you are on a headless Linux on WSL where keyring may not be available. I'm going to work on reproducing this bug and seeing how we can get keyring on your Linux. I will get back to this shortly
from infisical.
I was able to reproduce the issue you mentioned. This is because you are on a headless linux (WSL). Here is my recommendation if you want to continue using WSL.
- Install the Keyring on WSL
sudo apt-get update -y
sudo apt-get install -y gnome-keyring
-
install the CLI (i think you have done that already)
-
start Keyring
export $(dbus-launch)
gnome-keyring-daemon -r --unlock --components=secrets
Note: The command gnome-keyring-daemon -r --unlock --components=secrets
expects you to type your WSL password. Once you entered your password, press Ctrl+D twice.
- Login to infisical
infisical login
Please keep in mind that you will have to run step 3 each time you open a terminal which did not already have the Keyring unlocked. Otherwise, you will get the same error. You do not have to login again after you successfully logged in once; you will just have to run step 3 in the terminal at least once before you run infisical.
Typically, all of this already exists on your system if you have a full linux/windows/mac so you don't have to do anything other than login into infisical. Let me know if this helps.
from infisical.
Ok ! Thanks ! I will try to find a solution to bypass this. Lot of people are using WSL now, including my whole teams.
EDIT 1
It really became annoying. With the old behavior (push-pull) it was far mor easy to setup envs, even in docker-compose. It make more sense in development environnement to act like this. Moreover, projects were working around Infisical but not becaming dependent of it. With the new logic, we have to edit our dockerfiles or docker-compose to make it work right. Maybe it is just the time to adapt myself to the new paradigm.
EDIT 2
I found out why it is working badly. It is the same behavior as pointed by my other issue: #26
But as I could not see the list of envs in a file, I was unable to reorder them.
from infisical.
If you’ve had issues logging in because of keyring problems, Infisical CLI now supports multiple vaults to save your login credentials at rest. That means if the default store doesn’t work, you can switch to a different vault. Or, if you don’t have any vaults installed at all, you can still store your credentials safely in an encrypted text file with a passphrase that only you know. Check out more info on this here https://infisical.com/docs/cli/commands/vault don’t forget to update your CLI!
from infisical.
Related Issues (20)
- [ENG-342] Too much recursion when creating a service token and changing the environment on Firefox HOT 5
- [ENG-343] CLI Login not working through Safari HOT 5
- [ENG-345] Secret Scanning for Self-Hosted?
- [ENG-346] Modal Integration HOT 2
- [ENG-350] client side error on add a new project
- [ENG-351] Manage service token with Terraform HOT 3
- [ENG-362] HSM Support
- Test Linear HOT 4
- Client side error while creating a vercel integration HOT 1
- [ENG-380] Create secrets from the overview page HOT 9
- Secret referencing not working through Terraform provider HOT 6
- Create departments/teams HOT 1
- Portainer integration HOT 3
- [docs] Secret reminders and secret override option HOT 2
- [Secret reminders] Multiple mails sent when set two or more days HOT 2
- [Secret reminders] Update current values HOT 1
- [Secret reminders] Removing existing reminder HOT 2
- Allow `infisical export` to sort variables alphabetically HOT 5
- Bitbucket Integration for self hosted not working HOT 6
- Auto reload pods for Argo Rollout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infisical.