Comments (14)
I'll release 1.6.1 soon. Thanks.
from cli.
Hmm, I see that now.
Let me look into this more.
from cli.
Is your CLI up to date? Attachments now use a new type of key.
from cli.
@kspearrin Hi Kyle Thank for the prompt reply. I have just tried the newest version and it still didn't work.
PS E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden> bw update
No update available.
PS E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden> bw login
? Email address: [email protected]
? Master password: [hidden]
? Two-step login method: Authenticator App
? Two-step login code: 870597
You are logged in!
To unlock your vault, set your session key to the `BW_SESSION` environment variable. ex:
$ export BW_SESSION="Plhf8ZsJkUHz+GFAP/gTjon7AFJuZionmf4AVhVs1QZ7juKAmPpaRiZdMpyNNUAZ3AvpBawZLtIDxRnXhT9fZw=="
> $env:BW_SESSION="Plhf8ZsJkUHz+GFAP/gTjon7AFJuZionmf4AVhVs1QZ7juKAmPpaRiZdMpyNNUAZ3AvpBawZLtIDxRnXhT9fZw=="
You can also pass the session key to any command with the `--session` option. ex:
$ bw list items --session Plhf8ZsJkUHz+GFAP/gTjon7AFJuZionmf4AVhVs1QZ7juKAmPpaRiZdMpyNNUAZ3AvpBawZLtIDxRnXhT9fZw==
PS E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden> bw get attachment au1rlkl8o1uq26522w6f1bvemt7uhx5k --itemid a1de07cd-121d-4eb8-a46a-a9af01149a3b --session Plhf8ZsJkUHz+GFAP/gTjon7AFJuZionmf4AVhVs1QZ7juKAmPpaRiZdMpyNNUAZ3AvpBawZLtIDxRnXhT9fZw== --output ./
mac failed.
An error occurred while saving the attachment.
PS E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden> bw -v
1.6.0
PS E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden> bw get attachment hdj7uipykiga1hyj55z0m9iyabp8e49j --itemid 51645f39-16e6-4f3d-bfb8-a8ef0145f25f --session Plhf8ZsJkUHz+GFAP/gTjon7AFJuZionmf4AVhVs1QZ7juKAmPpaRiZdMpyNNUAZ3AvpBawZLtIDxRnXhT9fZw== --output ./
Saved E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden\2015-2017 South Carolina Document of Registration.pdf
PS E:\Go\src\github.com\vwxyzjn\portwarden\cmd\portwarden>
from cli.
When did you create this attachment? What app was it created from? Is your sever up to date?
from cli.
- I just uploaded this attachment today.
- I was using the browser extension for chrome or firefox
- I am using the official Bitwarden server. Did not self-host.
from cli.
I am not sure then. Can you try uploading it or another file again in the same way? Does it break? Can you download the file using another app without issue?
from cli.
Just tried again. Uploaded a new attachment and used the CLI to download. It failed with the same error.
This is the way I have uploaded them
https://imgur.com/a/oUZVogp
This is the way I have tried to retrieve them.
https://imgur.com/a/qX8PK6w
from cli.
Can you download it from the browser extension again without issue?
from cli.
I could. As shown here:
from cli.
You are using CLI v1.6.0?
from cli.
Thank you.
from cli.
@vwxyzjn I found the problem. Should be fixed with latest dev build from here: https://ci.appveyor.com/project/bitwarden/cli/build/artifacts
Can you give it a try?
from cli.
@kspearrin Yes that did the trick. The attachment was successfully downloaded. Thank you for the quick fix!
from cli.
Related Issues (20)
- Unable to login - Access denied HOT 1
- bw CLI sync without unlocking HOT 1
- `export` command can be verified with positional argument non-interactively: `BW_NOINTERACTION` check is invalid HOT 3
- `bw lock` causes logout HOT 6
- CLI login with API key fails with "invalid client" error HOT 1
- Error CLI and APP HOT 1
- Can't login with API Key HOT 1
- could not create item in organization collection
- Doesn't work. HOT 1
- login error: unable to get local issuer certificate HOT 5
- bw generate fails on 1.21.0 HOT 1
- `bw get totp` claims I don't have premium HOT 3
- 1.21.1 regressed compared to 1.19.1. `bw list items` became unreliable HOT 23
- bw item create error Cannot refresh token, no refresh token or api keys are stored HOT 3
- `invalid password` on `1.22.0-1`, logs in on `1.21.1-1` HOT 2
- How do I add users to org-collections HOT 1
- Security improvement: Bind node server to localhost for Vault Management API HOT 1
- CLI forbidding premium features on premium account HOT 2
- Open security vulnerabilities in node-forge dependency HOT 1
- error:02001003 with self hosted server 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 cli.