Closed yoursunny closed 4 years ago
ReadHandle._on_interest function currently transmits a Data packet like this: https://github.com/JonnyKong/NDN-Repo/blob/47b62cbab776a4b6480c741d8b6c4d09ba96a2a8/src/handle/read_handle.py#L33 It constructs a Data packet from Name, MetaInfo, and Content, but does not preserve original Signature.
ReadHandle._on_interest
Generally, repo may be deployed on a node that does not possess producer's signing key. Signing the Data with a different key breaks application trust model.
A new function get_original_packet_value is added to NDNApp class, which may be helpful.
Fixed with https://github.com/JonnyKong/NDN-Repo/commit/b77e9c5c91ad3942a51b0a442ce0130de3226ab2.
ReadHandle._on_interest
function currently transmits a Data packet like this: https://github.com/JonnyKong/NDN-Repo/blob/47b62cbab776a4b6480c741d8b6c4d09ba96a2a8/src/handle/read_handle.py#L33 It constructs a Data packet from Name, MetaInfo, and Content, but does not preserve original Signature.Generally, repo may be deployed on a node that does not possess producer's signing key. Signing the Data with a different key breaks application trust model.