Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create a new kdbx file? #175

Open
anthraxn8b opened this issue Jan 24, 2021 · 6 comments
Open

How to create a new kdbx file? #175

anthraxn8b opened this issue Jan 24, 2021 · 6 comments
Labels

Comments

@anthraxn8b
Copy link

Hi!
I currently do not have a file to upload/open.
I need to create one.
Either the option is not there or I cannot see it.
How does it work?
I have nextcloud 20.0.4 using the keeweb app in version 0.6.4.

@arnowelzel
Copy link
Collaborator

arnowelzel commented Jan 24, 2021

Sorry, this is not possible yet.

Keeweb itself allows to create a new file (also see https://app.keeweb.info/) - but you would then have to download it first or save it using WebDAV to your Nexctcloud by entering the exact WebDAV URL for it - therefore this option was disabled for the Nextcloud integration is this might be quite confusing and there is no way to easily store the new file in Nextcloud since you would have to enter the WebDAV URL and credentials manually.

As a workaround you can use https://app.keeweb.info/ to create a new file and then download it. There is no security risk since the app runs only in your browser and no data is transmitted anywhere.

grafik

@anthraxn8b
Copy link
Author

anthraxn8b commented Jan 24, 2021

THX! I will try that!
Maybe it would be a good idea to add the "ADD" button and the display this information there?!?
I am sure I will not be the only one misunderstanding the functionalities...

EDIT: Or maybe you could simply add an emty file as a resource which is just used when pressing "add"?

@arnowelzel
Copy link
Collaborator

arnowelzel commented Jan 25, 2021

It is not possible to display any additional information on the "New" page - it is as shown above. To add any additional explanation to this page the code of Keeweb itself would need to be changed which is beyond the scope of the integration.

It is also not possible to add an empty file - KDBX files are encrypted containers and the encryption MUST be done using Keeweb itself (or Keepass running on your computer or smartphone).

@dodedodo
Copy link

dodedodo commented Mar 20, 2021

Maybe you could create an empty template KeePass database without a password (It's possible, just tested it) and add that to nextcloud's "New File" dropdown menu?

EDIT: I see now that this is being discussed in #102 as well.

@arnowelzel
Copy link
Collaborator

@dodedodo Creating an empty database "template" without a password (or using a default password) is a really bad idea. I see the following problem: people use this to create a new database and then just use it without changing the password first. Yes - this will happen, even if it sounds stupid.

And on the other hand: how likely is it that you don't have a computer or Smartphone available where you can use Keepass to create a file to upload it to your Nextcloud instance?

@dodedodo
Copy link

@arnowelzel I was under the impression that keeweb always explicitly askes whenever you want to save a database without a password. But that warning only seems to pop-up when you click the GUI 'save' button, not when you press ctrl+s. In this case, i agree. It's a bad idea.

For you and me it's quite likely that we have a KeePass client installed somewhere. For less tech-savvy users however, it can be a real hassle to install and learn a new application, just to create a new file to use in nextcloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants