things basically work with a small patch
crypto calls to triplesec
works now in triplesec and node
undo debugging