Skip to main content
Question

Notify users when Yubikey Cert is about to expire

  • March 5, 2023
  • 1 reply
  • 21 views

Forum|alt.badge.img+6

Hello,

I want users to get notified "popup" 1 month before Yubikey Cert will expire.

Note: Cert is in the plugged device not in Keychain.

Am using EA to show expiry date: 

 

#!/bin/sh

Expire=$(/Applications/YubiKey\\ Manager.app/Contents/MacOS/ykman piv info | grep after | awk '{print $3}')

echo "<result>$Expire</result>"

 

Any idea?

1 reply

Forum|alt.badge.img+6
  • Author
  • Contributor
  • 49 replies
  • March 5, 2023