Skip to content

Commit

Permalink
update the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrchen committed Nov 14, 2019
1 parent f1b198b commit 8643e8b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 105 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
PANDOC=pandoc --lua-filter templates/pagebreak.lua -t html5 --mathjax --template=templates/github.wechat --tab-stop 2 --highlight-style pygments --standalone --section-divs

MDOC=mdoc

TRANSFORM=tools/transform.js
GEN_SUMMARY=tools/gen_summary.js

Expand Down
2 changes: 0 additions & 2 deletions resources/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@
* Callback hell

* Promises and future (future: perfectly sized allocation per task)


11 changes: 11 additions & 0 deletions resources/ideas/password.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 无密码的世界

用户拥有一个主私钥,存储在手机端。在「注册」时,服务端将该私钥的公钥添加到数据库中。「注册」信息的私密部分会以 hash 的形式发送给服务端,该 hash 和「注册」信息的公开部分会一同存入数据库。

当这个过程完成后,用户注册成功。

之后,其它 app 或者任何终端上的 app 需要用这个身份时,需要获得授权。




2 changes: 2 additions & 0 deletions src/2019/w46/1-noise-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Noise Protocol Framework(以下简称 Noise)是一个用于构建安全协

诸君也许会问:既然有了 TLS,我们为何还需要创建自己的安全协议?



```
START <----+
Send ClientHello | | Recv HelloRetryRequest
Expand Down
100 changes: 0 additions & 100 deletions templates/pagebreak.lua

This file was deleted.

0 comments on commit 8643e8b

Please sign in to comment.