guardianproject/haven

Onion service should have a random prefix

開放

#47 建立於 2017年12月19日

 (3 則留言) (0 個反應) (0 位負責人)Java (747 個分叉)batch import
enhancementhelp wantedlow-priority

倉庫指標

星標
 (6,509 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Until next gen onion services are live, the actual onion addresses aren't private from HSDir nodes. So it's possible that Haven onion services could get discovered by an attacker, giving them access to all of the evidence logs.

The easiest way to thwart this is to generate a random string and prefix all the URLs with it. So instead of starting with just http://blahblahblah.onion:8080/, the URLs should start with http://blahblahblah.onion:8080/randomstring/. This way, if an attacker discovered the onion service, they won't be able to view the logs without guessing the value of randomstring -- which is essentially a random password. This is how OnionShare URLs works.

貢獻者指南