Fix encryption signing