The same key is regenerated each time

Maybe you have caching enabled in OpenSC.