Comments (6)
I do not announced it because it's a bit in a wave for now, im just in the beginning of the writing of this API client.
Can you upgrade or pull latest (be aware that i rewrote history a bit as it is not still really released.)
That code is already tested, and i confirm it to work in our configurations (see compose setup for tests, for example).
To get more debug infos, can you put a pdb on client.py in the _upload_object method and inspect what's in the response body ?
from bitwardentools.
I have test failures with 1.20.0
, i think something has changed with 1.18.0
that we were using until now in the stack.
I ll fix that ;).
from bitwardentools.
you can try latest release / HEAD.
from bitwardentools.
Yeah seems that now It's working correctly the only thing that was missing was the "collectionIds" that It's still mising in the USAGE.md
from bitwardentools import client as bwclient
from variables import email,password,server,organization
client = bwclient.Client(server, email, password)
client.sync()
orga = client.get_organization(organization)
collection = client.get_collection("Default Collection",orga=orga)
cipherp = {
"object": "item",
"name": "testitp",
"organizationId": orga.id,
"notes": "supernote",
"login": {"username": "alice", "password": "rabbit"},
"collectionIds": [collection.id],
}
cipher = client.create(**cipherp)
from bitwardentools.
Yes and no, [...], i have to test it further, seems it's now since 1.19+
impossible to add secrets in an organization which arent tied to any collection.
I was able to do it before.
from bitwardentools.
I'll be closing the issue due to there's no further problems with this
from bitwardentools.
Related Issues (17)
- Requests dependency missing HOT 1
- add TOTP support HOT 4
- add edit_item/edit_login functionality HOT 1
- Autnentication by using API key HOT 13
- raising keyerror on 'kdfIterations' HOT 1
- Admin page requests end in NotFounds (vaultwarden) HOT 5
- PyPi version is missing packaging dependency
- Dev requirements HOT 1
- Bitwardentools bw always asks for master password HOT 3
- Edit the cipher username and password. Is it possible?
- Editing login with passkey invalidates date in passkey (or elsewhere in item) and makes login non-editable.
- Argon2id algorithm support?
- Missing dependency - ModuleNotFoundError: No module named 'packaging'
- Changing the item name
- confirm_invitation unnecessarily requires server private key HOT 2
- Error with get_cipher HOT 4
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 bitwardentools.