PyNDN: Adding python exception handing inside callback. Fixing nre
Also, this version makes sure that verification always succeeds
diff --git a/PyNDN/Data.py b/PyNDN/Data.py
index 6d36dc9..48c54da 100644
--- a/PyNDN/Data.py
+++ b/PyNDN/Data.py
@@ -65,7 +65,8 @@
def verify_signature (self, key):
"""There is no actual signing in ndnSIM for now, but we will check if signature matches the key"""
- return self._data.GetSignature () == key.fakeKey
+ return True
+ # return self._data.GetSignature () == key.fakeKey
def __getattr__ (self, name):
if name == "_data":