Skip to content
Snippets Groups Projects
Commit 8836bfe6 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

swapped to the correct fingerprint

parent c109a87f
No related branches found
No related tags found
3 merge requests!67Release,!60Hotfic/preimage,!55fully implemented trial hashing of identity fingerprints. Needs tests.
...@@ -54,7 +54,7 @@ func (m *Manager) handleMessage(ecrMsg format.Message, bundle Bundle, edge *edge ...@@ -54,7 +54,7 @@ func (m *Manager) handleMessage(ecrMsg format.Message, bundle Bundle, edge *edge
var relationshipFingerprint []byte var relationshipFingerprint []byte
//if it exists, check against all in the list //if it exists, check against all in the list
has, forMe, _ := m.Session.GetEdge().Check(identity.Source, fingerprint[:], ecrMsg.GetContents()) has, forMe, _ := m.Session.GetEdge().Check(identity.Source, ecrMsg.GetIdentityFP(), ecrMsg.GetContents())
if !has { if !has {
jww.INFO.Printf("checking backup %v", preimage.MakeDefault(identity.Source)) jww.INFO.Printf("checking backup %v", preimage.MakeDefault(identity.Source))
//if it doesnt exist, check against the default fingerprint for the identity //if it doesnt exist, check against the default fingerprint for the identity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment