Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

keepassxc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keepassxc

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

KeypassXC Ruby binding

You want to fetch login data as the browsers do. Then this is for you. Similar to my https://github.com/Kjarrigan/keepasshttp-ruby repo.

Work in progress

A coworker just asked me wether I have use the keepassxc-cli but it requires to enter a password every time which is annoying and then I remembered my keepasshttp-ruby binding and it turns out this is no longer the desired way for KeepassXC. So why not make the new version work. Yay!

Some things have changed but the rough idea is the same. So I can probably copy over quite a bit of context.

Basic communication snippet

It is already working now! Altough some comfort is still missing, you can already register your client and fetch logins. Yay!

load 'test.rb'

kpx = KeepassXC.new client_identifier: KEY_FROM_ASSOCIATE_OR_DB, client_name: ID_FROM_ASSOCIATE_OR_DB
kpx.change_public_keys
# kpx.associate
kpx.test_associate
p kpx.get_logins 'https://github.com'

You can check what clients are already registered in your DB via the GUI like this:

  • Database
  • Database-Settings
  • Browser-Integration

Technically you could even re-use the Key/ID from your browser by just copying them from there.

FAQs

Package last updated on 16 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc