DCPing, adcs: support keyprint
Kcchouette opened this issue · 1 comments
Kcchouette commented
Related to #55
Trying to ping a adcs hub with a bad keyprint, it succeeds:
$ dcping ping "adcs://hub.dcbase.org:16591/?kp=SHA256/PNIQER3LUSOKAHBM7NLL273AMF6UGT4LUD7G3A3VCGTILPGWMATQ"
{"name":"DCDev Hub","desc":"Next DCNF meeting: 2019-04-07 19:00 CET \u003chttps://dcbase.org/meetings/\u003e","addr":["adcs://hub.dcbase.org:16591/?kp=SHA256/PNIQER3LUSOKAHBM7NLL273AMF6UGT4LUD7G3A3VCGTILPGWMATQ"],"encoding":"utf-8","soft":{"name":"ADCH++","vers":"2.11.2 (r664) Release","ext":["TIGR","PING","BASE"]},"users":22,"files":707147,"share":16941766878948}
adcs://hub.dcbase.org:16591
real keyprint is not PNIQER3LUSOKAHBM7NLL273AMF6UGT4LUD7G3A3VCGTILPGWMATQ
What I expect: failing or/and replacing the real keyprint in the addr field
Kcchouette commented
And if I ping a adcs hub, add the keyprint to the end of the addr?