Check Passlane here (I’m the author of it): https://github.com/anssip/passlane
Would it make sense to use this for storing keys used other shell scripts?
Does it support hardware keys?