Skip to content

omapass 0.1.48

Choose a tag to compare

@github-actions github-actions released this 29 Sep 17:19
· 13 commits to main since this release

Added

  • New auto-sync setting (default off): when on, OmaPass runs a sync
    right after every insert, edit or delete, instead of only on Ctrl+S. Off
    by default because it adds a network round trip — and its possible failure
    — to every single edit. (#46)

Fixed

  • Ctrl+S (sync) no longer leaves the entry list stale once the pull/push
    finishes. sync was fired through the same detached helper used for
    clipboard/type actions, so nothing ever reloaded the list or surfaced a
    failure when it was done; it is now a tracked process like every other
    write, and reloads the list (or reports the error) on exit. (#45)

  • sync no longer reports success when git failed. pass(1) ends in exit 0
    and its git handler never checks the git it just ran, so pass git push || die could not fire however badly the push went — an unreachable remote, a
    rejected update and a store with no remote at all all printed "Store synced"
    and exited 0, with 2>/dev/null discarding the only remaining evidence.

    sync now runs git directly in the store, which is the same invocation
    pass git makes minus the discarded status, and each call is guarded. A
    store with no remote configured says so and names the command that adds one,
    rather than failing as though the network were at fault. The wording of each
    failure stays ours: git's own stderr names the file it tripped over, and an
    entry name is disclosure in its own right. ([#49])

    This is the only place it bit — pass show, mv, rm and otp all fail
    through pass's own die, which exits 1 before that final exit 0 is
    reached, so their guards work. ([#49])


Install

omarchy plugin add https://github.com/cschaba/omapass.git --enable --yes

Or from the tarball below:

tar -xzf omapass-0.1.48.tar.gz
cd omapass-0.1.48 && ./install.sh

sha256: d5bdfe2f08e9c98dc2f752b5d199791a63bc14829b2f09db35e4446edd5abea3

Under development and largely untested — see the warning at the top
of the README before trusting it with anything.