[enh] added keysigning and checking sigs