Coder Social home page Coder Social logo

rorokimdim / stash Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 5.0 185 KB

encrypted text storage and cli

License: BSD 3-Clause "New" or "Revised" License

Haskell 82.56% Shell 1.22% Clojure 2.46% Python 3.38% Common Lisp 4.42% Roff 5.95%
babashka cli-tool haskell

stash's Introduction

stash's People

Contributors

rorokimdim 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

Watchers

 avatar  avatar  avatar

stash's Issues

Error installing babashka pod

Having issue with installation with babashka

; Downloading pod rorokimdim/stash (0.3.3)
; 
; Successfully installed pod rorokimdim/stash (0.3.3)
; 
; java.io.EOFException: Invalid netstring. Unexpected end of input. lockcloak.stash /workspaces/LockCloak/project/src/lockcloak/stash.clj:1:1

Environment:

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

My original problem would be solved with a binary for aarch64 architecture. In its absence, I'm trying to make any devcontainer variant to work.

babashka stash/get hangs

Hi,
I'm using your babashka scripting examples. The stash-get function which in turn calls stash/get on the pod seems to hang indefinitely.

(with an empty stash)

parson.stash> (stash-init "password") ;; stash-init copied from scripting-examples
true
parson.stash> (add-entry "facebook.com" "jude@test")
1
parson.stash> (stash-nodes)
[{:key "facebook.com",
  :hvalue "09b5867c284533237f3d726c91242c842af91925c38c57bd038d5da0d6b47eb82e6db80f77e4e55da3aabc9c1fbe915e413c5125b5b768eabf8214e8be512bb9",
  :value "jude@test",
  :created "2023-03-05T22:03:08Z",
  :modified "2023-03-05T22:03:08Z",
  :id 1,
  :parent-id 0,
  :hkey "df72bcf65b6a475d0f1aa1751dc567a7ba24a50f2e3ea13489933632e0157385ee6a634a2bc9dfcdad89d71ea957cbd1bff9d8c9d6d4202af0727a2401dc5dff",
  :version 1}]
parson.stash> (stash-get 0 "facebook.com").  ;; hangs indefinitely 

I've tried (stash-get "facebook.com"), which also hangs.

thanks!

How does the Cryptographic scheme of Stash work

Hi,

wanted to understand how it all works!

  • What hash algorithm is used to create the hash of the master password?

  • Is that same (stored in the db) hash used to encrypt & decrypt data on nodes stored in the database? Of if something else, how is it generated? (and the salt)

I've tried tracing through the Haskell, but am not an expert and couldn't quite get there :) thanks!

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.