Use more protected tmp
Fix key file name generation
Don't pollute your $HOME