robertoriv / alfred-yubikey-otp Goto Github PK
View Code? Open in Web Editor NEWEasily retrieve OTP codes from your YubiKey device
License: MIT License
Easily retrieve OTP codes from your YubiKey device
License: MIT License
So,
I've changed the default shortcut to call the OTP helper (I use gg
)
when starting to type the shortcut, I will see alfred offering to complete the input like so:
but once I input the whole shortcut, it will just disappear.
I tried with the default shortcut and other options but nothing gave solution.
I've also tried to enforce argument
which does bring me to the option to input my yubikey OTP name... but once I type it in
it will convert it to a web search
so no go with that direction either.
I've Alfred 4.0.9 with powerpack
Would it be possible to make this script work with entries that are configured to require touch?
Hi there,
Apple decided to remove Python 2.7 from MacOS 12.3 - which makes the plugin crash now. Any chance to get the plugin fixed to work against Python 3?
My current approach is to install Python 2.7 via pyenv :-)
Matthias
In case there are multiple yubikeys connected, one must define variable --device SERIAL to ykman. Are there any provisions in the script to set a variable in the workflow?
Hey @robertoriv, was just going to build this myself and then saw you had already created. Love the idea, so thanks for building something off the shelf and open sourcing. I am running into an issue which I could use some guidance on:
It seems your script can't find my oath entires. When I do a ykman oath list
from my terminal, my single entry "oc" shows up, but your script isn't able to find it for some reason. Any suggestions on debugging that further?
Follow up with a new issue from #6.
Using v1.1.1
Flow:
yfa
into alfredoc
. Two search results are shown: oc
+ oc-tf
oc
+ oc-tf
.oc
is copied into my clipboard. Same if I hit enter on oc-tf
.Odd thing is that this works for other oath entries that are not oc
...
Can share logs directly if that is helpful.
@robertoriv digging this workflow now that I got it working correctly, so thank you a ton for creating it!
Two things I'm thinking that would improve this greatly:
yfa $MY_DEFAULT_PROFILE
and then hit enter. It would be awesome to be able to skip that by just typing yfa
and it already knows my default profile so it requires a tap for that. Simple but big usability thing. Not sure how you would select the default profile, but maybe it's an input during install or a setting in the workflow configuration itself?Would appreciate to hear your thoughts. Also if you want to outline how you would implement either of these at a high level then I could potentially take a look at contributing here if I can roll up my rusty python sleeves. Appreciate it @robertoriv!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.