13 changed files with 87 additions and 70 deletions
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 239 KiB |
@ -1,19 +1,37 @@
|
||||
Alfred Yubico Auth |
||||
================== |
||||
# Alfred Yubico Auth |
||||
|
||||
An Alfred Workflow for auto filling authentication codes stored on your Yubikey. |
||||
|
||||
Notes |
||||
----- |
||||
## Notes |
||||
|
||||
This is definitely a work in progress. There are a lot of rough edges yet to be polished, but here it goes. |
||||
|
||||
* Requires some to be installed with a package manager |
||||
* There is no way to input your key password through the UI yet. Do that with `make set-password` and then it should work fine. |
||||
* Does not bundle dylibs for you. Hanve't quite figured out what needs to be done to make this portable |
||||
* Requires MacPorts to install dependencies |
||||
* Error handling is terrible right now. If things don't work, check the debug log in Alfred |
||||
|
||||
Credits |
||||
------- |
||||
## Installation |
||||
|
||||
Clone this repo |
||||
|
||||
```bash |
||||
git clone https://git.iamthefij.com/iamthefij/alfred-yubico-auth.git |
||||
``` |
||||
|
||||
Either install your dependencies manually or, if you have MacPorts, you can use: |
||||
|
||||
```bash |
||||
make install-ports |
||||
``` |
||||
|
||||
Otherwise you need to install `swig swig-python ykpers libu2f-host libusb` some other way. |
||||
|
||||
Finally up the virtualenv and install to your Alfred with |
||||
|
||||
```bash |
||||
make install |
||||
``` |
||||
|
||||
## Credits |
||||
|
||||
Uses the amazing [deanishe/alfred-workflow](https://github.com/deanishe/alfred-workflow) package |
||||
|
Before Width: | Height: | Size: 239 KiB After Width: | Height: | Size: 239 KiB |
@ -0,0 +1,8 @@
|
||||
#! /bin/bash |
||||
set -e |
||||
|
||||
echo "Warning! This will remove the workflow at the provided path and replace it with a link to this directory" |
||||
read -p "Path to workflow to replace: " existing_workflow |
||||
|
||||
rm -fr "$existing_workflow" |
||||
ln -s `pwd` "$existing_workflow" |
@ -1,4 +1,4 @@
|
||||
#! /bin/bash |
||||
|
||||
echo "$1" > ./src/version |
||||
plutil -replace version -string "$1" ./src/info.plist |
||||
echo "$1" > ./alfred_yauth/version |
||||
plutil -replace version -string "$1" ./info.plist |
||||
|
Loading…
Reference in new issue