From 542b4acecc2ab9dc68b41eae3204de39d93a88a2 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 23 Jun 2016 14:36:13 +0200 Subject: [PATCH] Add Yubikey OTP invalidation With some Yubikey models it's easy to accidentally enter OTPs in the current cursor position, when e.g. carrying the laptop. This plugin watches for OTPs and tries to invalidate them immediately, then telling the user about it. --- external-scripts.json | 3 ++- package.json | 1 + run.sh | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/external-scripts.json b/external-scripts.json index ba5decc..4a31b6b 100644 --- a/external-scripts.json +++ b/external-scripts.json @@ -11,5 +11,6 @@ "hubot-rss-reader", "hubot-remotestorage-logger", "hubot-openassets", - "hubot-incoming-webhook" + "hubot-incoming-webhook", + "hubot-yubikey-invalidation" ] diff --git a/package.json b/package.json index 8b5eb1c..e69db13 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug", "hubot-shipit": "^0.2.0", "hubot-tell": "^1.2.3", + "hubot-yubikey-invalidation": "0.0.3", "request": "2.30.0" }, "engines": { diff --git a/run.sh b/run.sh index e180ce8..fc38d07 100755 --- a/run.sh +++ b/run.sh @@ -20,4 +20,5 @@ OA_BOT_KEYWORD="kreditz" \ OA_ASSET_FROM_ADDRESS="akRWZJMETdM2U5UGKadKhv1PAj2npoGja1m" \ OA_ASSET_ID="AbDn6L2AUGnDreUuNkGFEqcxnsoUP4HCjm" \ WEBHOOK_TOKEN="kosmosplusplus" \ +HUBOT_YUBIKEY_API_ID="change-me" \ bin/hubot -a irc --name hal7000