In thunderbird is there a way to get the s/mime passphrase unlocked on login, perhaps stored in the keyring.

You can do this with gpg but i can't find the option for smime and have to enter it each time i start thunderbird.