mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-02 22:57:18 -05:00
PUT /api/ciphers/move not implemented #52
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mprasil on GitHub (Jul 21, 2018).
New vault (#93) calls
PUTon/api/ciphers/moveto "Move selected" ciphers. We havePOSThandler already implemented for this, so this should be easy to fix.@krankur commented on GitHub (Jul 30, 2018):
Hi, I am new to Rust and wanted to start contributing to open source projects. This bug looked like a good beginner task, so I decided to give it a shot. I forked and cloned the project, but on "cargo run" I am getting the following error message:
Can someone please guide me on what could be the issue here?
@mprasil commented on GitHub (Jul 30, 2018):
Hi, I think the program fails to create the keys. Normally they are in the
datadirectory, so make sure that whatever user you're running it under can create that folder and/or write to it.@krankur commented on GitHub (Jul 31, 2018):
Thanks @mprasil . I checked the
datafolder. I see 2 files inside it,rsa_key.derandrsa_key.pem. I also checked the permissions. The user has both read and write permissions on thedatafolder and as well as the 2 files inside thedatafolder. So, I tried to debug and it seems like 3 keys should have been created but only 2 are created. Creation ofrsa_key.pub.deris failing here:I also tried directly running
openssl rsa -in rsa_key.der -inform DER -RSAPublicKey_out -outform DER -out rsa_key.pub.derin terminal. I am getting an error message sayingunknown option -RSAPublicKey_out.@krankur commented on GitHub (Jul 31, 2018):
So, finally I found out the issue. It was the old openssl version being used. Even though I had
1.0.2lversion installed through brew, the old version at/usr/local/bin/opensslwas being picked up. I had to create a symlink to the newer version to make it work. https://apple.stackexchange.com/questions/126830/how-to-upgrade-openssl-in-os-x@krankur commented on GitHub (Jul 31, 2018):
Another question. While doing the setup I was following the instructions in
Build.mdfile. Some of the instructions are out of date now, as in the latest vault release, project structure has been changed and the filesettings.Production.jsonno longer exists. I had to use the previous release to build the project. Is the build process with the latest vault version documented anywhere?Also, as per my understanding, the aim of this task is to accommodate the changes introduced as part of the latest vault release. So, to work on this bug I will need to setup the new vault. Is my understanding correct?
@dani-garcia commented on GitHub (Jul 31, 2018):
It’s not documented at the moment, but you can look at the lines 16-25 of the dockerfile to get an idea of the setup.
Basically, clone the 2.0 repo, apply the patch and run the npm commands.
@mqus commented on GitHub (Jul 31, 2018):
I packaged vault for archlinux and as of my knowledge, you don't have to change anything anymore and the build process is as following (taken from build.sh in the vault repo):
and the output directory is then
build/I have tested it and it worked fairly well but I can still be wrong.
EDIT: Ah there IS a patch :D I'll add that later today.
@mprasil commented on GitHub (Jul 31, 2018):
Note that this is still beta branch, so not ready yet. There are couple bugs that need to be fixed (like this one) before the new Vault (2.0) is usable.
@krankur commented on GitHub (Jul 31, 2018):
Thanks to all. I was able to setup with Vault (2.0). Will start working on the bug now.
@dani-garcia commented on GitHub (Aug 1, 2018):
This should be fixed by #108