open and sign with crypto++
move to more secure code