Use mkstemp
Add signature-check
Make it able to use your editor