Comments (14)
Hello,
I updated my additions branch with the new api changes and it should work now! I'll try to split up the code and submit smaller pull requests!
from rubywarden.
@universal Thank you. Any chance that you can update KeePass script to work with latest API?
from rubywarden.
@raufis27 did you try my docker image here? It has Vault bundled in. You can just run a container, head to http://localhost:8080/ create account and import keepass export via the Vault tools. Then you can either continue using the image or grab the db and use whatever build of bitwarden-ruby server you prefer to use.
from rubywarden.
@mprasil After adopting bash scripts from your repo I was able to put everything together. I am running test environment under ubuntu server now. Thanks for your help.
from rubywarden.
Hey, @universal is working on this, there was a pull request #37 for that, but it looks like there are some issues to solve after the new API was introduced.
If you want to give it a try you can check his additions branch or you can try my docker image which is using latest Vault and code from additions branch.
from rubywarden.
Have you tried the Keepass import in Vault? It worked fine last time I've tried.
from rubywarden.
I can't get Web to work. Can someone share settings.json example ?
I changed api url to "http://1.....:4567" and "identityUri": "http://1......:33656", (also tried "http://1.....:4567"). But I get these errors:
[Error] XMLHttpRequest cannot load http://1....:4567/connect/token. Preflight response is not successful
[Error] Failed to load resource: Could not connect to the server. (token, line 0)
[Error] XMLHttpRequest cannot load http://...:33656/connect/token due to access control checks.
from rubywarden.
regarding keepass import:
since I'm not using keepass, I'm not interested in it. what you could easily do is check out an older version, import the data and then switch to the current version. Adopting the script is not really complicated and should be possible even if you have little to no knowledge of ruby.
web vault:
look at my additions branch, there is a tools/compile_webvault.script that adopts the json setting files correctly.
from rubywarden.
I tried tools/compile_webvault.script. Same problem - [Error] XMLHttpRequest cannot load http://1.....:4567/identity/connect/token. Preflight response is not successful
[Error] Failed to load resource: Preflight response is not successful (token, line 0)
[Error] XMLHttpRequest cannot load http://1....:4567/identity/connect/token. Preflight response is not successful
from rubywarden.
@raufis27 the web-vault does not work against this repository currently, you need to use my additions branch if you want it now! and be sure to specify the correct host for your env!
from rubywarden.
I checked the new web-vault (version 2.2) against the current master branch and the basic functionality works out of the box. I hope I will find some time over the next days to document and implement most methods required by the web interface for the management of ciphers / folders.
from rubywarden.
@universal Can you share your service URLs please?
Currently, I have:
apiService.setUrls({
base: 'https://rubywarden.url',
api: 'https://rubywarden.url/api',
identity: 'https://rubywarden.url/identity',
});
But the web vault refuses to work. Android app, Firefox/Chrome extensions and the Windows app works fine with the base URL set to https://rubywarden.url
from rubywarden.
@manojchandrashekar iirc with the latest version of the web vault you don't need to change the urls, if you have the api hosted at the same domain. I put the web vault into the public folder and have sinatra serve that up. I currently only have the code at home and not pushed yet.
quoting from memory, so not 100% sure, but something along these lines worked for me:
- git clone "web-vault-repository"
- npm dist:selfhosted (or alike)
- put dist/build into public folder
- enable static file serving with sinatra for public folder in main app.rb for localhost development
- in production one can serve the static files through nginx / ...
from rubywarden.
@universal Thank you. Will try that.
from rubywarden.
Related Issues (20)
- iOS app crash after latest update HOT 18
- How to backup and restore? HOT 2
- CORS for new Safari Extension HOT 7
- Problem to update or sync after update HOT 2
- using web vault
- Upgrade error
- Implement 2FA recovery code
- Deleting folder doesn't clear matching "folderId" from items
- Provide procedure to implement HTTPS HOT 2
- Error when importing passwords from KeePass HOT 4
- DEBUG messages HOT 1
- 404 error when deleting entry HOT 5
- Saving attachments does not work HOT 1
- Error when importing from KeePass 2.x
- Delete user HOT 1
- Invalid master password when unlocking desktop client HOT 2
- rubywarden no longer being updated HOT 5
- Fork? HOT 1
- - NoMethodError - undefined method `passwordhistory' for #<Cipher:0x00000008093a8b38>: HOT 1
- Import from Enpass? HOT 2
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 rubywarden.