Support detached signing and verifying

Needs an update to the README which I didn't do