Chrome plugin to show/use logins for user management v2 apps. Requires a login to the related GraphDB instance with access to the Clients repository.
  • JavaScript 88.7%
  • HTML 11.3%
Find a file
Marcin Koziuk 77d871a802 Fix endless reconnect loop flooding the console
The content script opened a port to detect an extension reload, but the
background never listened for connections, so each connect failed with
"Receiving end does not exist" and was retried immediately, on every page.
Drop the port: an orphaned script now removes its button on the next DOM change.
2026-11-24 13:03:30 +01:00
docs README: demo GIF and security summary 2026-11-10 12:48:08 +01:00
icons Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00
presets Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00
.gitignore Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00
background.js Edit the site list as plain text 2026-11-09 17:08:19 +01:00
content.js Fix endless reconnect loop flooding the console 2026-11-24 13:03:30 +01:00
manifest.json Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00
options.html Edit the site list as plain text 2026-11-09 17:08:19 +01:00
options.js Edit the site list as plain text 2026-11-09 17:08:19 +01:00
popup.html Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00
popup.js Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00
README.md README: demo GIF and security summary 2026-11-10 12:48:08 +01:00
sites-format.js Keep exported site lists plain ASCII 2026-11-09 17:24:53 +01:00
vault.js Wistor Login Helper: first version 2026-11-09 17:08:19 +01:00

Wistor Login Helper

A Chrome extension that saves you from looking up app logins in GraphDB by hand.

On a Wistor app login page (/loginbb?id=…) it adds a gold Wistor button to the login card. Click it to see every UMv2 login for that repository — read live from the app's GraphDB Clients repo — with its full-access flag and parameters. Click a login to fill the form; double-click to fill it and log in.

Clicking the gold button on a Wistor login page opens the list of UMv2 logins for the repository

Does not bypass security. Nothing is kept around in plain text.

  • It uses your own GraphDB account and runs the same query you would run by hand in GraphDB, so it only sees what you can already see. Nothing is bypassed.
  • It logs in through the app's normal login form, exactly as if you typed it.
  • No credentials in this repo: it asks for your GraphDB login the first time you use a site.
  • Saved logins are encrypted with a master password and stay on your computer only.
  • UMv2 app logins are read live from GraphDB and never stored.

Internal tool. It works with the plaintext UMv2 passwords we use during the migration period. Keep it in this repo; never publish it to the Chrome Web Store.

Install

  1. Clone this repo somewhere you keep it, e.g. ~/Projects/login-plugin.
  2. Open chrome://extensions, switch on Developer mode (top right), click Load unpacked and select the folder.
  3. Pin it: puzzle-piece icon in the toolbar → pin Wistor Login Helper.

Chrome may warn about developer-mode extensions now and then; that is expected for an unpacked extension. It also asks for access to all sites: the helper has to spot Wistor login pages on any domain and talk to whichever GraphDB a site uses.

Updating

git pull, then click the reload icon on the extension's card in chrome://extensions. Open Wistor tabs switch to the new version by themselves.

First use

Open any Wistor app login page and click the gold button.

  1. Create a master password. One password for the helper itself (not a Wistor or GraphDB password). It encrypts the GraphDB logins you save and is asked once per Chrome session.
  2. Confirm the GraphDB address. The helper tries db.<app host> and shorter variants, checks which one is a running GraphDB and pre-fills it. Correct it if it guessed wrong.
  3. Enter your GraphDB login. It is tested against the Clients repo before it is saved. Your own GraphDB account — these differ per person, so they are never shared.

The logins appear straight away. A second app on the same GraphDB only asks to confirm the address.

Shortcut: paste a colleague's site list (or one from presets/) into Options › Sites first — then step 2 is already done for every site on it.

Daily use

Where What
Gold button on the login card Badge shows the number of logins; + means setup needed, a lock means the vault is locked, ! an error.
Login list Click to fill, double-click to fill and log in. Full access and parameters are shown per login.
GraphDB name under the title Change GraphDB, change your GraphDB login, or Not for this site (hides the button there).
Toolbar popup Turn the button off (e.g. while presenting to a client), show the password column, lock the vault.
Options page Master password, site list, hidden sites, saved GraphDB logins.

Sharing sites

Options › Sites is a plain-text list of which GraphDB each app host uses, one site per line:

app.wistor.nl          https://db.app.wistor.nl
kg.bim-connected.com   https://db.kg.bim-connected.com
crow.wistor.nl         https://db.crow.wistor.nl   Clients2
  • An optional third column names the users repository when it is not Clients.
  • Copy to share it. It contains no usernames or passwords.
  • To take over a colleague's list, paste it below yours and Save. When a host appears twice, the last line wins. Save shows what changed and asks before removing anything.
  • Sites you hid with "Not for this site" are personal: they are listed under Options › Hidden on and are never part of the text.

presets/ holds ready-made lists to paste in.

Security

  • GraphDB logins are encrypted with AES-GCM, using a key derived from your master password (PBKDF2-SHA256, 600,000 iterations), and stored in the extension's local storage.
  • Once unlocked, the key is kept in memory only until Chrome quits. Lock earlier from the popup or the dropdown footer.
  • The master password is never stored. Forgot it? Options › Reset vault deletes the saved GraphDB logins; your sites stay.
  • UMv2 app logins are queried live each time and never stored.

Troubleshooting

  • No button on the page. The helper only runs on app logins (/loginbb?id=…). The platform login on a site's home page (email + password, “Welcome to Wistor”) has no UMv2 logins, so no button there. Also check the popup switch is on and the site is not under Options › Hidden on.
  • “GraphDB rejected the username or password”. Your GraphDB login changed: GraphDB name under the title → Change GraphDB login.
  • “Cannot reach …”. The GraphDB is down, the address is wrong, or it is only reachable on a VPN.
  • Chrome's password manager does not fill the GraphDB login fields. Known limitation (the dropdown lives in a shadow root). Bitwarden and other extension-based managers do work.

Files

File Purpose
manifest.json Extension manifest (MV3).
background.js Service worker: GraphDB probing and queries, sites, vault access.
vault.js Master-password encryption of GraphDB logins.
sites-format.js The shareable plain-text site list.
content.js The button and dropdown on Wistor login pages.
popup.*, options.* Toolbar popup and options page.
icons/ Toolbar icons and the gold mark used on the page.
presets/ Site lists to paste into Options › Sites.