MLSNews

《未闻》区块链技术日报,聚焦业内技术更新,做您最好的眼睛。

View project on GitHub

​MLSNEWS

——————◆ 20190626 ◆——————

  • 为Brave for iOS添加Yubikey支持

    Yubico是硬件认证安全密钥的领先提供商 - 这些设备可保护登录在线帐户免受网络钓鱼,中间人和其他帐户接管威胁。

    与从文本消息或应用程序输入的代码不同,诸如YubiKey之类的安全密钥不仅可以通过单次触摸对您进行身份验证,还可以验证您登录的站点的身份。具有误导性域名的欺骗站点可能足以偶尔绊倒一个人,但不能伪造YubiKey支持的U2F和WebAuthn协议中使用的加密握手。

    随着Brave对Yubico即将推出的YubiKey 5Ci设备的支持,在单个设备上同时具有USB-C和Lightning连接器,您很快就可以在多种设备上使用相同的强大安全密钥,包括iPhone和iPad。这样可以删除安全性较低的登录方法,并且无论您从哪个设备登录,都可以大大降低受保护帐户的网络钓鱼风险。

    Yubico is the leading provider of hardware authentication security keys — devices which protect logins to online accounts from phishing, man-in-the-middle, and other threats of account takeover.

    Unlike a code entered from a text message or an app, security keys such as the YubiKey not only authenticate you with a single touch, but also verify the identity of the site you’re logging into. A spoof site with a misleading domain name might be enough to occasionally trip up a person, but can’t fake the cryptographic handshake used in the U2F and WebAuthn protocols supported by the YubiKey.

    With Brave’s support for Yubico’s upcoming YubiKey 5Ci devices, with both a USB-C and Lightning connector on a single device, you will soon be able to use the same robust security key across multiple devices, including iPhones and iPads. This allows for the removal of less safe login methods and greatly reduces the risk of phishing on protected accounts, no matter what device you’re logging in from.

  • 如何使用IPFS + ENS托管您的Dapp并通过EthDNS访问它

    人们常常问我ENS是否可以指向一个IP地址来托管一个网站yourname.eth。我通常建议将您的网站上传到分布式内容系统,如IPFS或Swarm,并通过ENS提供。

    我自己从未这样做过,所以我将ENS经理复制到IPFS中,设置ensmanager.matoken.eth为解决它,并通过一个名为EthDNS的鲜为人知的ENS gem 在http://ensmanager.matoken.eth.link下提供服务。我就是这样做的。

    第1步:更改您的应用

    第2步:将构建文件发布到IPFS

    第3步:将contenthash设置为ENS

    第4步:通过EthDNS访问它

    People often ask me whether ENS can point to an IP address to host a website under yourname.eth. What I usually advise is to upload your website to a distributed content system such as IPFS or Swarm and make that available via ENS instead.

    I’d never done that myself, so I copied ENS manager into IPFS, setensmanager.matoken.eth to resolve to it, and served it under http://ensmanager.matoken.eth.link via a lesser known ENS gem called EthDNS. Here is how I did it.

    Step 1: Making changes to your app

    Step 2: Publish your build file to IPFS

    Step 3: Set contenthash to ENS

    Step 4: Access it via EthDNS

  • Facebook主导的Libra所基于的共识HotStuff是如何工作的?

    最近,Facebook 主导的数字货币 Libra 发行了白皮书,其测试网代码已经在 GitHub 开源。通读 Libra 的白皮书,可以看到其采用的共识协议是 LibraBFT。见名知意,这是一个拜占庭容错共识协议。这个共识协议是在另外一个共识协议 HotStuff 的基础上演化而来,了解 HotStuff 的工作原理将会给弄清楚 LibraBFT的整个过程带来很大帮助。

    共识协议 HotStuff 由 VMware Research 等团队于 2018 年 3月提出,其预印版经过五轮迭代修改,并将于并行与分布计算领域著名的国际会议 PODC 2019上正式发表。HotStuff 是一个基于主节点(Leader)的拜占庭容错共识协议。我们可以看到,和很多共识协议一样,其网络被假定为了一个可靠安全的点对点网络,其通信模型采用了部分同步模型。所谓部分同步模型,就是网络中存在一个消息传递延迟的上界,这个上界要么不为网络中的节点所知,要么所有节点知道这个上界,并在某个未知点后遵循这个上界。