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

UUID of 0 for new entry when scripting #677

Open
troy256 opened this issue Feb 26, 2024 · 0 comments
Open

UUID of 0 for new entry when scripting #677

troy256 opened this issue Feb 26, 2024 · 0 comments

Comments

@troy256
Copy link

troy256 commented Feb 26, 2024

I’m encountering an issue where the lpass add command occasionally assigns a UUID of 0 to a newly created entry, and this UUID never updates to a non-zero value. This issue is causing my script, which retrieves the UUID after creating an entry, to break.

This problem seems to occur randomly after a number of entries have been successfully created. I’ve implemented several measures to mitigate this, including using the --sync=now option, incorporating sleep intervals between lpass CLI calls, and implementing a loop (with a 10-second delay between iterations) on the lpass show command to allow time for a non-zero UUID to be assigned. Despite these measures, the UUID remains at 0 indefinitely for certain entries.

It’s important to note that the issue doesn’t seem to be tied to any specific entry, as the entries it occurs on are random. I’m looking for any insights or solutions to this problem. Thanks in advance for your help.

image

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