Giter Site home page Giter Site logo

nextcloud-keeweb's Introduction

Keeweb for Nextcloud

WARNING: KeeWeb itself is not maintained any longer (see note about NC 28 and newer below) and future versions of Nextcloud may not be supported any longer!

Nextcloud is an open source, self-hosted file sync and share and communication app platform. Keeweb is a web application for working with databases of the Keepass password manager.

This integrates the two with each other. Just click on a *.kdbx file in Your Nextcloud to open it.

demo

Note about Nextcloud 28 and newer:

Thanks to the help by @florian-forestier, in January 2024 a new release was published which supports Nextcloud 28.

However the upstream project "KeeWeb" itself is not maintained any longer - so if you can help, please have a look at #204 (KeeWeb upstream maintenance) and/or #221 (Maintainers for KeeWeb for Nextcloud). Any help is appreciated!

Install

  1. Go to the releases page, download the latest version.
  2. Extract it to your_nextcloud/custom_apps, for example with tar xvf keeweb-0.6.17.tar.gz -C /path/to/your/nextcloud/custom_apps.
  3. Go to "Apps" and then "Not enabled", scroll down to "Experimental" and enable it.

To update to a new version, simply repeat these steps.

Development setup

git clone https://github.com/jhass/nextcloud-keeweb.git
cd nextcloud-keeweb

# You can skip this if you only want to build the appstore or source packages
git clone -b stable20 https://github.com/nextcloud/server.git nextcloud
ln -sf "$(pwd)/keeweb" nextcloud/apps
cd nextcloud && git submodule update --init && cd -

git clone https://github.com/keeweb/keeweb.git keeweb-source

# Install npm -- this might require a more recent npm than your distro's, see https://github.com/nodesource/distributions on how to deploy it
# Once npm is installed, install grunt and bower; instead of relying on your distro's, you can do
sudo npm install -g grunt

# Build nextcloud-keeweb - this will build with the current tested release
# If you want to update to a newer version of Keeweb or use the development version, you also need to modify the patches for it
bin/build

# Finally, run the nextcloud server
bin/server
# Alternatively, you can build the app package to test on a running nextcloud by doing
cd keeweb
make dist
# The package that can be installed in the nextcloud app folder is here: ./build/artifacts/appstore/keeweb.tar.gz

Contributing

  1. Fork the repository and clone your fork.
  2. Create a new branch.
  3. Commit your patch.
  4. Push the branch and open a pull request.

nextcloud-keeweb's People

Contributors

arnowelzel avatar burned42 avatar deltachaos avatar dragonandy avatar florian-forestier avatar fthiery avatar holgerhees avatar jhass avatar jsoko avatar kesselb avatar larsbel avatar lippl avatar maurerle avatar mikkcz avatar rafiwui avatar siccovansas avatar slug-v avatar thinkofher avatar tiaga avatar xefir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nextcloud-keeweb's Issues

choosing *.kdbxfile

To improve the documentation, it should be mentioned that for using nextcloud-keeweb you just have to click on an existing *.kdbx file in your nextcloud.

Btw. Thanks, it's an great app!

Default search term

When I open the app, the search box is filled with my username. This makes it to find no entries since I use different usernames on other services.

Why is the search box pre-filled?
I would suggest to keep it empty.

spectacle c16103

Unable to edit/save a .kdbx file from a shared folder

I have a .kdbx ile I use for organization passwords, between admin1 and admin2.

When I try to edit the file with admin2, I can add, but autosave doesn't work and if I try to save manually the message in the UI is [object Event].

Is there something I'm missing or is it a bug?

Implementation details

I have some questions regarding nextcloud-keeweb, that are probably also of general interest and for whom I could not find an answer:

  • How do you integrate/embed keeweb itself (index.html)?
  • Can the user override the embedded keeweb?
  • Do you connect to the .kdbx file via WebDAV or is this not needed because your app is integrated in Nextcloud and you connect to the .kdbx file somehow directly?
  • How do you authenticate on the .kdbx file? Do you pass the Nextcloud credentials to the .kdbx file?

Thank you for a quick answer. :-)

Clear local storage on nextcloud sign out

I just found out, that if user A opens a keepass file and user B (who does not have access to A's file) opens the keepass app, he sees A's file as last opened and can even open it if he/she has the password.

I consider this to be quite a security problem.

Trying to open it via webDAV results in "401 CSRF check not passed."

Dear developers,

iam trying to work with keeweb with my nextcloud installation, but iam no table to open the database over webdav (same server). I always get an 401 error in the WebUI, and in the logs it says "401 CSRF check not passed."

Iam using nextcloud 10.0.1
nginx 1.10.1 with php7.0-fpm with enabled memcached

{"reqId":"GjhRzB+e0ss5UsYoqNpn","remoteAddr":"62.218.23.122","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 401 CSRF check not passed.\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php(155): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth->auth(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php(163): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth->check(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(446): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#5 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/aleman...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/xxx.de\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"Line\":220,\"User\":\"yyy\"}","level":0,"time":"2016-10-12T07:22:18+00:00","method":"HEAD","url":"\/remote.php\/webdav\/KWdatabase.kdbx","user":"yyy"}

syncing back gives me a 401

Hi,

i recently updated to version 0.3.0. With that I can run keeweb with nextcloud 11. I'm able to open a file. But if I add or modify some data and try to sync it back, then the first HEAD request gives a 401 and nothing is synced back.

can't open .kbdx file on nextcloud

I have keeweb as app in nextcloud 11.0.1
when i try to open .kbdx file i see keeweb startpage, type my password... and nothing happened after 'enter' press.
Nothing in nextcloud.log
but in the same time I can open local file from my computer in this app.

How to open KDBX from Files App?

After enabling the App, how can i open a KDBX File directly from the Files App? Is this not possible? In my case, if i click on a KDBX File, it starts to download, instead of opening in KeeWeb.

Ensure correct way to obtain the webdav base host is used

Click on *.kdbx-file opens the app and prompts for password. after input, nothing happens, except for cursor being changed to Ø

edit: some info:
debian jessie, nginx, browser is win7/chrome
using the windows app works fine (connected to same file with webdav function)

internal server error

Hey,
I've installed the plugin on my nextcloud server but I'm having the following error when opening a kdbx file.
thank you

Exception: {"Exception":"Exception","Message":"template file not found: template:keeweb","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(197): OC\\Template\\TemplateFileLocator->find('keeweb')\n#1 \/var\/www\/owncloud\/lib\/private\/legacy\/template.php(84): OC_Template->findTemplate('', 'keeweb', 'keeweb')\n#2 \/var\/www\/owncloud\/lib\/public\/AppFramework\/Http\/TemplateResponse.php(151): OC_Template->__construct('keeweb', 'keeweb', '')\n#3 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(113): OCP\\AppFramework\\Http\\TemplateResponse->render()\n#4 \/var\/www\/owncloud\/lib\/private\/AppFramework\/App.php(111): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Keeweb\\Controller\\PageController), 'keeweb')\n#5 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main('PageController', 'keeweb', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#6 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#7 \/var\/www\/owncloud\/lib\/private\/Route\/Router.php(293): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#8 \/var\/www\/owncloud\/lib\/base.php(983): OC\\Route\\Router->match('\/apps\/keeweb\/ke...')\n#9 \/var\/www\/owncloud\/index.php(48): OC::handleRequest()\n#10 {main}","File":"\/var\/www\/owncloud\/lib\/private\/Template\/TemplateFileLocator.php","Line":56}

PHP Parse error: syntax error, unexpected 'version'

I'm not sure exactly why (the compressed keeweb.php makes it hard to debug), but I'm getting the following error on all releases:

PHP Parse error: syntax error, unexpected 'version' (T_STRING) in <nextcloud path>/apps/keeweb/templates/keeweb.php on line 6

Any ideas?

Keeweb makes nextcloud slower

Hello team,

Each time I enable the Keeweb apps, browsing into nextcloud becomes slower.

Steps to reproduce

  1. Enable file keeweb app
  2. Browse into your directories (file app)
  3. Feeling that it slower than before enabling Keeweb

Expected behaviour

No such difference between before and after enabling the app Keeweb

Actual behaviour

Really slower than before enabling the app Keeweb

Server configuration

Operating system: Linux 4.4.0-1029-raspi2 #36-Ubuntu SMP armv7l armv7l armv7l GNU/Linux

Web server: nginx 1.11.5 with ngx_cache_purge module 2.3 and geoip

Database: mariadb 10.0.27

PHP version: php 7.0.13

Nextcloud version: nextcloud 10.0.1

Where did you install Nextcloud from: /var/www/nextcloud/

Signing status:

No errors have been found.

List of activated apps:

Enabled:
  - activity: 2.3.2
  - announcementcenter: 2.0.0
  - audioplayer: 1.2.2
  - calendar: 1.4.0
  - comments: 1.0.0
  - contacts: 1.4.0.0
  - dav: 1.0.1
  - direct_menu: 0.9.2
  - documents: 0.13.1
  - encryption: 1.3.1
  - federatedfilesharing: 1.0.1
  - federation: 1.0.1
  - files: 1.5.2
  - files_accesscontrol: 1.1.2
  - files_automatedtagging: 1.1.1
  - files_clipboard: 0.5.0
  - files_external: 1.0.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 1.0.0
  - files_texteditor: 2.1
  - files_trashbin: 1.0.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - keeweb
  - news: 9.0.4
  - notifications: 0.3.0
  - ownbackup: 0.3.8
  - password_policy: 1.0.0
  - provisioning_api: 1.0.0
  - serverinfo: 1.1.1
  - spreedme: 0.3.3
  - survey_client: 0.1.5
  - systemtags: 1.0.2
  - tasks: 0.9.3
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 1.0.1
  - workflowengine: 1.0.1
Disabled:
  - admin_audit
  - external
  - files_retention
  - firstrunwizard
  - gallery
  - user_external
  - user_ldap
  - user_saml

The content of config/config.php:

{
    "system": {
        "instanceid": "ocil10fg9af5",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "mydomain.com",
            "192.168.1.20"
        ],
        "datadirectory": "\/var\/nc_data",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/mydomain.com\/nextcloud",
        "dbtype": "mysql",
        "version": "9.1.1.5",
        "dbname": "nextcloud",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 1,
        "logtimezone": "Europe\/Paris",
        "logfile": "\/var\/nc_data\/nextcloud.log",
        "log_rotate_size": 1048576,
        "quota_include_external_storage": false,
        "knowledgebaseenabled": false,
        "filelocking.enabled": "true",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "\/var\/run\/redis\/redis.sock",
            "port": 0,
            "timeout": 0
        },
        "filesystem_check_changes": 1,
        "installed": true,
        "appstore.experimental.enabled": false,
        "mail_smtpmode": "smtp",
        "mail_from_address": "nuage",
        "mail_domain": "mydomain.com",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "smtp.server.com",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\Movie"
        ]
    }
}

Are you using external storage, if yes which one: local

Are you using encryption: yes

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Chrome 54.0.2840.99 m

Operating system: Windows 7

Logs

Nextcloud log (/var/nc_data/owncloud.log)

No error logs

Browser log with Keeweb

GET /core/search/templates/part.results.html
GET https://mydomain.com/ocs/v2.php/apps/notifications/api/v1/notifications?format=json
GET /index.php/apps/documents/ajax/mimes.php
GET /apps/encryption/ajax/getStatus
PROPFIND https://mydomain.com/remote.php/webdav/
GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2F 200 2543ms	
GET https://mydomain.com/ocs/v1.php/apps/files_external/api/v1/mounts?format=json 200 4333ms	
GET /index.php/apps/files_external/userglobalstorages/1?testOnly=false 200 1935ms	
GET /index.php/apps/files_external/userglobalstorages/2?testOnly=false 200 3931ms	
GET /index.php/apps/files_external/userglobalstorages/3?testOnly=false 200 8057ms	
GET /index.php/apps/files_external/userglobalstorages/5?testOnly=false 200 5778ms	
GET https://mydomain.com/ocs/v2.php/apps/notifications/api/v1/notifications?format=json 200 2307ms	
GET https://mydomain.com/ocs/v2.php/apps/notifications/api/v1/notifications?format=json 200 2023ms	

Browser log without Keeweb

GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2F 200 317ms	
GET https://mydomain.com/ocs/v1.php/apps/files_external/api/v1/mounts?format=json 200 700ms	
GET /apps/encryption/ajax/getStatus
PROPFIND https://mydomain.com/remote.php/webdav/
GET /index.php/apps/files_external/userglobalstorages/1?testOnly=false 200 1163ms	
GET /index.php/apps/files_external/userglobalstorages/2?testOnly=false 200 389ms	
GET /index.php/apps/files_external/userglobalstorages/3?testOnly=false 200 751ms	
GET /index.php/apps/files_external/userglobalstorages/5?testOnly=false 200 1421ms
GET https://mydomain.com/ocs/v2.php/apps/notifications/api/v1/notifications?format=json 200 521ms	

As you can see, delay are much longer with than whitout Keeweb.
I didn't find any other logs to provide to show this delay...

Internal server error => template file not found: template:keeweb

I tried to use it on Nextcloud 10.0, but get an Internal server error when I start the app or the password db file.

Nextcloud shows this log entry:

Exception: {
    "Exception":"Exception",
    "Message":"template file not found: template:keeweb",
    "Code":0,
    "Trace":"#0 \/home\/myowncloud\/www\/nextcloud\/lib\/private\/legacy\/template.php(197): OC\\Template\\TemplateFileLocator->find('keeweb')\n#1 \/home\/myowncloud\/www\/nextcloud\/lib\/private\/legacy\/template.php(84): OC_Template->findTemplate('',
    'keeweb',
    'keeweb')\n#2 \/home\/myowncloud\/www\/nextcloud\/lib\/public\/AppFramework\/Http\/TemplateResponse.php(151): OC_Template->__construct('keeweb',
    'keeweb',
    '')\n#3 \/home\/myowncloud\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(113): OCP\\AppFramework\\Http\\TemplateResponse->render()\n#4 \/home\/myowncloud\/www\/nextcloud\/lib\/private\/AppFramework\/App.php(111): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Keeweb\\Controller\\PageController),
    'keeweb')\n#5 \/home\/myowncloud\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main('PageController',
    'keeweb',
    Object(OC\\AppFramework\\DependencyInjection\\DIContainer),
    Array)\n#6 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#7 \/home\/myowncloud\/www\/nextcloud\/lib\/private\/Route\/Router.php(293): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler),
    Array)\n#8 \/home\/myowncloud\/www\/nextcloud\/lib\/base.php(967): OC\\Route\\Router->match('\/apps\/keeweb\/ke...')\n#9 \/home\/myowncloud\/www\/nextcloud\/index.php(48): OC::handleRequest()\n#10 {main}",
    "File":"\/home\/myowncloud\/www\/nextcloud\/lib\/private\/Template\/TemplateFileLocator.php",
    "Line":56
} 

Do not assume being installed to the root path

I've freshly installed Nextcloud 9.0.53 and extracted the latest release into my nextcloud/apps directory. Enabled it in the admin, and Apache throws an error:

image

Am I doing something wrong, or does something else need changing? Nextcloud log doesn't show any errors.

EDIT: Nevermind. I figured out it was mod_rewrite not passing through on that URL

When selecting the app (after activation) Internal Server Error

After copying keepass to apps and enabling, I've logged in and clicked on the app following appears (in german nextcloud 10)

Interner Serverfehler
Der Server hat einen internen Fehler und konnte Ihre Anfrage nicht vervollständigen.
Bitte wenden Sie sich an den Serveradministrator, wenn dieser Fehler mehrfach auftritt, geben Sie bitte die, unten stehenden, technischen Details in Ihrem Bericht mit an.
Weitere Details können im Server-Protokoll gefunden werden.

Technische Details
Entfernte Adresse: xx.xxx.xxx.xxx
Anfragekennung: aECTADOKhd+GG0alrNA7

Build fails on 16.04

Hi there; first of all i'm sorry i might be missing an obvious point, but i tried to follow the dev env instructions and am stuck; this is on a fresh ubuntu 16.04.

I am trying to help fix keeweb/keeweb#656 ("Browser autofills master password and search box") by building a fresh version of nextcloud-keeweb that would use the latest keeweb version.

# git clone https://github.com/jhass/nextcloud-keeweb.git
# cd nextcloud-keeweb
# git clone -b stable12 https://github.com/nextcloud/server.git nextcloud
# ln -sf "$(pwd)/keeweb" nextcloud/apps
# git clone https://github.com/keeweb/keeweb.git keeweb-source
# apt-get install npm
# grunt install grunt bower
# LANG=C ./bin/build  master
Removing npm-debug.log
Already on 'master'
Your branch is up-to-date with 'origin/master'.
refs/heads/master
Already up-to-date.
npm ERR! Linux 4.4.0-62-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "uninstall" "--save-dev" "electron-prebuilt"
npm ERR! node v4.2.6
[npm-debug.log.txt](https://github.com/jhass/nextcloud-keeweb/files/1061741/npm-debug.log.txt)


npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #3
npm ERR! typeerror     at replaceModule (/usr/share/npm/lib/install/deps.js:438:3)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:234:7
npm ERR! typeerror     at Array.forEach (native)
npm ERR! typeerror     at exports.removeDeps (/usr/share/npm/lib/install/deps.js:230:8)
npm ERR! typeerror     at Array.<anonymous> (/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
npm ERR! typeerror     at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
npm ERR! typeerror     at chain (/usr/share/npm/node_modules/slide/lib/chain.js:20:5)
npm ERR! typeerror     at Uninstaller.loadAllDepsIntoIdealTree (/usr/share/npm/lib/uninstall.js:72:3)
npm ERR! typeerror     at Array.<anonymous> (/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
npm ERR! typeerror     at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/fthiery/nextcloud-keeweb/keeweb-source/npm-debug.log

Have to set up Webdav once in each browser

Hi, maybe I am misunderstanding something. I have the key database (.kdbx) shared in my owncloud and access it using webdav. But I have to set this up for each new browser I am accessing my owncloud account again. Doesn't feel quite cloudish ;-)

Am I missing something?

Where is the .kdbx file after creation of a keeweb database?

Hi,

So I don't really know if I did understand how keeweb for nextcloud works or if its a bug, but here is my problem.

I create a new KeeWeb DB from the KeeWeb app in Nextcloud. Now I want to synchronize it with an android phone which has NC installed and KeePassDroid.

I thought that I could just tell KeePassDroid to look for the .kdbx file under the nextcloud folder so I can get my password DB. However, I can't find that file in my nextcloud file app, nor from the phone, neither from the NC server.
Note that when I log on my nextcloud server from another computer, the DB I created does not exist anymore (or is not found by keeweb either), while it still exists from the other computer.

What do I miss ?

I have NC from a Nextcloud box, with NC 11.0.3 and keeweb app 0.4.0

Thanks

update from 0.2.4 to 2.4.5 under nc 9.53 not automatic and brakes integry check

Thank You for 0.25

I run nc 9.53 under ubuntu 16.04 lts and apache2 on odroid xu4

The update isn't done automaticaly; I think that's because the app is only in the Nc- and not in the Oc-Appstore.

After Upgrading manually the Nc updateprocess runs.
Afterwards I've got an intergry-check error concerning the .htaccess
Had to fix it with
'integrity.check.disabled' => true,
in config.php
rescan for integry check
and set
'integrity.check.disabled' => true,
again.

after save can't open kdbx in keeweb

i have a .kdbx in shared folder on NC12
I have open the file, edit and saved.
After the save if click on file the system open the download and not the keeweb app
Sorry for my english

Unable to open .kdbx files with App

After installing the latest release Version. I am not able to open a kdbx-File with the keeweb app. Clicking on a kdbx-File only starts the Download.

Keeweb v1.3.3 doesnt open .kdbx on Nextcloud 11

Hi There,

When clicking on a .kdbx file Keeweb doesnt open te file, so i get a download prompt to download the file.

After disabling and enabling the app it works again for a while and i am not sure what is triggering the problem.

Setup:
Ubuntu 16.04
PHP7
Nextcloud 11.0.1
KeeWeb v1.3.3 (52701af, 2016-12-17)
Environment: web
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/55.0.2883.87 Chrome/55.0.2883.87 Safari/537.36

Missing "New" button on Keeweb landing page

The title pretty much says it. I don't see the nice "+" icon between "open" and "more". Any clues?

Operating system: Debian GNU/Linux 8.8 (jessie) 4.5.1-std-1
Web server: nginx 1.10.3-1
Database: postgresql-9.6
PHP version: 5.6.30
Nextcloud version: 12.0
Keeweb version: 0.4.0

keeweb.php is missing

Within the gitignore-file the keeweb.php has been added. This results in an "Internal Server Error" as the file keeweb.php is missing within the folder "templates".

Please remove this file from gitignore-file and upload it. Otherwise the app is not working.

kind regards,
Chris

Creating/Saving new entry removes version history

Hi, cool App. I noticed that creating a new entry in my KeePass database using this app and then saving resulted in there being no version history for my kdbx file. Looked in the deleted files and there was my old one. Luckily I restored it and my versions came back. I like the possibility of editing kdbx from inside Nextcloud, but the version overwrite/clearing is a deal breaker for me.

It appears it creates a new file with the same name and a leading period (.MyDatabase.kdbx), removes the old one (MyDatabase.kdbx) and then renames the new file to the old one. That is why there was no version history when I checked.

Keeweb client database location setup

Since I am a novice in Linux, my questions could be naive.

I created a Keepass database by using Keepass v 2.35 on my PC. I can access that by using a password and a key file. I then exported its database to my NextCloud (v 10.0.1 Keeweb app successfully. I can now access it from any browser by going to my NextCloud account. All works fine. Thank you. But here are my questions:

  1. When I click on the arrow to login to Keeweb app on NC using a browser on my PC, it requires, as well as my password, entering a key file from my local drive not from the location in the NextCloud server (although the key file is in the same directory as the keeweb database in NC). So I enter the key file from from my local drive on my PC and enter Keeweb successfully. How do I access this key file from the server instead of from my local drive? Is it possible to enter Keeweb just by using just a password without a key file? Or, is it possible to load the key file from the location on the NC server automatically so that I do not have to select it each time I need to enter Keeweb?

  2. I would like to use a kind of Keeweb client on my iPhone and access its database stored on my NC mentioned above. I downloaded an app called MiniKeepass to my iPhone. But this app has no way of defining a location for the database access. So, could you please recommend an app to run on iPhone in which I can define the keepass database stored in NC and some guidance to define this location in the app? Currently I use a commercial Password management program which stores its database in a cloud!

Error Open files

I get "There was an error opening file. network error" by clicking a local kdbx-file made with Windows-KeePass. Keeweb asks for password, and then I got the error.

Nextcloud 11.0.3
nextcloud-keeweb 0.3.1

Starting the app results in blank page and PHP Fatal error

(possibly related to issue #26 ?)

After installing and activating the app (v0.2.9) on Nextcloud (v10.0.1), consulting its page (/index.php/apps/keeweb/) or clicking on a *.kdbx file yields an empty page, and the following PHP error :

PHP Fatal error: Cannot redeclare class OC\Config in /usr/share/nextcloud/lib/private/Config.php on line 41

dev build fails

I tried to build it, but get this error:

> bin/build refs/heads/master
Lösche npm-debug.log
HEAD ist jetzt bei 234333d... Merge branch 'release-1.3'
npm ERR! Linux 4.4.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "uninstall" "--save-dev" "electron-prebuilt"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #3
npm ERR! typeerror     at replaceModule (/usr/share/npm/lib/install/deps.js:438:3)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:234:7
npm ERR! typeerror     at Array.forEach (native)
npm ERR! typeerror     at exports.removeDeps (/usr/share/npm/lib/install/deps.js:230:8)
npm ERR! typeerror     at Array.<anonymous> (/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
npm ERR! typeerror     at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
npm ERR! typeerror     at chain (/usr/share/npm/node_modules/slide/lib/chain.js:20:5)
npm ERR! typeerror     at Uninstaller.loadAllDepsIntoIdealTree (/usr/share/npm/lib/uninstall.js:72:3)
npm ERR! typeerror     at Array.<anonymous> (/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
npm ERR! typeerror     at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>

I am aware that it sais "This is an error with npm itself."
So, does it work for others?

Unable to save file using save to.

I created a keeweb file using the app. When attemping to save a keeweb file using the 'Save to' option I am unable to do so. Clicking on the file icon produces no response, action or error. The same is also true if selecting the 'XML' option. Selecting the webdav option generates the response 'Cannot save to webdav. Adding new files to webdav is currently not supported......'.

Is this the expected behaviour?
How do I obtain a copy of the keeweb file I have created?
Where does keeweb store my keeweb .kdbx files?

Keeweb version 0.3.0
Nextcloud 11.0.1
Firefox 50.1.0

undefined method OC\\Server::getContentSecurityPolicyNonceManager()

Hi,

When I'm activating Keeweb, I got a blank page (with Nextcloud header though) and those two lines in nextcloud.log :/

{"reqId":"AiZyMc9MqVws7iFIQHmU","remoteAddr":"172.17.0.5","app":"PHP","message":"Call to undefined method OC\\Server::getContentSecurityPolicyNonceManager() at \/var\/www\/html\/apps\/keeweb\/templates\/keeweb.php#1","level":3,"time":"2017-01-17T06:15:27+00:00","method":"GET","url":"\/apps\/keeweb\/keeweb","user":"moz","version":"9.1.3.2"}
{"reqId":"y5Eol\/QN0QsKmOHcPBXg","remoteAddr":"172.17.0.5","app":"PHP","message":"Call to undefined method OC\\Server::getContentSecurityPolicyNonceManager() at \/var\/www\/html\/apps\/keeweb\/templates\/manifest.appcache.php#4","level":3,"time":"2017-01-17T06:15:28+00:00","method":"GET","url":"\/apps\/keeweb\/manifest.appcache","user":"moz","version":"9.1.3.2"}

Get Keeweb into the NC app store

Hi, Previously it seems that Keeweb was available via Nextcloud's official and approved app listing. Are there plans to make Keeweb available this way in the future? Please advise on when we can expect that. Thanks,

Not open kdbx files since nextcloud 12

I had the app activate for some time, but decide to deactivate it later... to activate it now again, before I used it with nextcloud 11.0.2 and before. Now I am using nextcloud 12 and activate the app again, but if I click on my kdbx file it only offers me to download it.

Is the keeweb app directly included in the nextcloud app? Because it is not the newest version and missing four bug fix releases.

More information in README

README.md says:

This integrates the two with each other.

It would be good to provide some screenshots so everyone could see how this integration looks like.

[Request] Service to export passwords.

Hi there,
I'm the main developer of passman, and would love to work with the dev's of this project on a new feature.
Would it be possible to create a service to export a kdbx to json?

If so, it would be possible to import kdbx files to passman, and maybe in the future read them directly without importing

Two factor possible?

Hi,

I really like your keeweb integration for NextCloud but it seems that the kdbx file can not be synchronized if TOTP is enable. Is anyone facing the same issue?
Or is this at the moment simply not possible?

Thanks for your held
Best regards,
Eloo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.