Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Edit the cipher username and password. Is it possible? #24

Closed
maciej-rek opened this issue Dec 13, 2023 · 1 comment
Closed

Edit the cipher username and password. Is it possible? #24

maciej-rek opened this issue Dec 13, 2023 · 1 comment

Comments

@maciej-rek
Copy link

maciej-rek commented Dec 13, 2023

Hi,
I'm trying to edit the username but I have no idea what I'm doing wrong. I looked at the test_client.py code and I read a closed issue on this topic. Successfully edited the note, but I can't edit the username and password. I've been struggling with it for 2 days.

WORKING GREAT

secitem = client.search_objects({"name": 'sv_admin'}, sync=True)[0]
client.edit_item(secitem, notes="its test only")

DON'T WORK

secitem = client.search_objects({"name": 'sv_admin'}, sync=True)[0]
client.edit_login(secitem, username="svroot")
client.edit_login(secitem, password="qwe321")

Additionally, could you tell me how I can delete the collection? Removing ciphers works great, but when I want to delete the collection, the script does not show any error, but the collection is not deleted.
I tried to do it the same way as deleting the cipher.

secitem = client.search_objects({"name": 'COLLECTION2'}, sync=True)[0]
client.delete(secitem)

Thank you! :)

@kiorky
Copy link
Contributor

kiorky commented Dec 12, 2024

bitwardentools dev is halted.

@kiorky kiorky closed this as completed Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants