npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

kdbx-red

v1.3.2

Published

Node-Red nodes to work with keepass files.

Downloads

216

Readme

kdbx-RED

This node lets you manage kdbx files (as used by KeePass and others). It is based on kdbxweb.

⚠️ Warning: ⚠️ Use this node with care! Opening a kdbx file with this node exposes the contained credentials to the flow (and thus to the memory). Therefore you should only use it in a trusted environment.

It is probably safer than using a badly secured database or a plain text file on disk. But you still need to be careful. Always remember: You use it on your own risk! So use it with care!

We use it ourselves to authenticate users in a web-app (either by having one kdbx file for each user and auth fails in case the kdbx-database could not be opened; or by having one kdbx file for all users and the credentials used for authorization are within this file). Having further credentials within the kdbx-database, the flow may also use services the user would normally not have access to. Thus this node allows to hide credentials from the user that he should not have access to while he still should use e.g. a certain web service from within the app.

Status

Currently you can:

  • create or delete databases
  • create, update or delete groups
  • create, update or delete entries, list all entries or get a specific entry

Supported kdbx versions

Currently it works best with kdbx version 3.1 but also kdbx version 4 (argon 2) is supported. Older kdbx files are not supported! Please mind that kdbx version 4 files can be a bit slower. If you use the open database operation, the database will be kept open and cached to the node.context so that further operations are faster. Please remember to save the database later using the close database operation in order to persist any changes.

Configuration

You can put the data into the msg.payload (get more details on this through the information panel) or configurate it from within the node.

You can select your entry or group by name or by uuid. The root group is selected either by an empty string or using /. For subfolder selection use / as a separator. For example my first folder/subfolder.

It's best to use the uuid to select an entry or a group as otherwise a searched is performed and the first matching entry or group will be returned.

Most times all parameters are mandatory. Anyway some operations like e.g. the update entry operation need information on which parameters should be processed. Thus you have a checkbox to select these parameters.

Node configuration

Node

File node configuration

File Node

Sample flow

You can find a sample flow in the node red imports where you can see some examples on how to configure the node.

Example