Port for forge.mil's community-cac libcackey project