Fix key signing