Coder Social home page Coder Social logo

ayushnix / pass-tessen Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 5.0 156 KB

fuzzy data selection and copy-paste from password store

License: GNU General Public License v2.0

Shell 93.55% Makefile 6.45%
password passwordstore fzf bash xclip wl-clipboard fzy skim

pass-tessen's Introduction

About Me

Hi! I'm Ayush. I'm a Linux Systems Administrator and a DevOps enthusiast.

I write my thoughts in my microblog.

I've started using SourceHut as my primary git forge and Codeberg as my primary mirror. I'll keep using GitHub as another mirror for now.

Keys ๐Ÿ”‘

Sign

My OpenBSD signify/minisign public key is

RWTOzC8OW0l2VmPS6SWB6huDGm/rX4HYdpRyFHXX9F8M18zfJUppywsB

I use this key to sign releases. You can also find this key file on GitHub. It's also available as as DNS TXT record.

$ dig TXT signify.ayushnix.com +short | sed 's/"//g'
RWTOzC8OW0l2VmPS6SWB6huDGm/rX4HYdpRyFHXX9F8M18zfJUppywsB

Encrypt

You can send me encrypted files or messages using my age public key. My email address is available on my git commits.

age1dqhwu9r2wryc3j7kvpnrhg20jytts3vuzn9fyz7ku66m6tgpgfyscasmw5

pass-tessen's People

Contributors

ayushnix 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

Watchers

 avatar  avatar  avatar

pass-tessen's Issues

xclip: -selection clipboard: No such file or directory

System properties:
pass-tessen version: 1.5.3 (git clone of latest)
OS: Archcraft x86_64
Bash: version 5.1.16
WM: openbox
Display server: x11

Steps to reproduce:
Using an X11 server, the main "copy to clipboard" behavior doesn't quite work:

`pass tessen

...

xclip: -selection clipboard: No such file or directory

Copied username to clipboard. Will clear in 45 seconds.
`

While the "Copied username" message is reported, the clipboard does not actually contain the username due to the previous error. The culprit is line 143 of tessen.bash:

143 printf '%s' "${1-}" | "$TSN_CLIP_CMD" "${TSN_CLIP_CMD_ARGS[*]-}"

I'm not a bash expert, but I believe the error has something to do with storing commands as variables rather than as arrays (http://mywiki.wooledge.org/BashFAQ/050). I have applied the following fix on my local version of pass-tessen:

143 printf '%s' "${1-}" | "$TSN_CLIP_CMD" "${TSN_CLIP_CMD_ARGS[@]}"

This fix has resolved the issue with this function.

I have noticed that same idiom for storing/referencing command args is used throughout this script, and I have not investigated much further than this.

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.