tor reattach to detached onions #44
Loading…
Reference in New Issue
No description provided.
Delete Branch "dan/libricochet-go:tor-attach"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hmmm the integ test is timing out...
Drone Build Status: success
https://build.openprivacy.ca/openprivacy/libricochet-go/109
Why:
bineed255192 "github.com/cretz/bine/torutil/ed25519"
We are already relying on 2 ed25519 libraries + our own in util/crypto. I'd really rather not have to deal with another ed25519 util package. Can we do what this is doing without this?
All it's being used for is
bineed255192.FromCryptoPrivateKey(privkey)
which is putting the private key in the format bine needs, because everyone uses theri own lib formatUrgh looks like Bine has an entire ed25519 implementation to get around the key format issues between golang and Tor. I really dislike that. There are already 2 versions of ScalarMult compiled in libricochet, this would be a 3rd. We should consider the impact of having to audit this code down the line.
(Also, at some point we will likely be incorporating https://github.com/bwesterb/go-ristretto somewhere in this stack also which will be a 4th, but at least that one provides extra functionality).
I'm going to let Erinn review this code, and won't block merging it but I think we need to push back on bine & extra25519 having their own implementation.