<p>I wrote this as a proof of concept for idea that I had a while ago, it is a <em>very</em> simple login page that uses GPG. It's not really the most convenient login, but it's not meant to be used in production settings anyway. </p>
<p>If you have any ideas for improvements or notice any security risks of this login please let me know. </p>
<p><a href="https://github.com/zowhoey/gologin-gpg" rel="nofollow">https://github.com/zowhoey/gologin-gpg</a></p>
<hr/>**评论:**<br/><br/>epiris: <pre><p>Cool project, didn't look very closely but did notice you should replace your map access directly to form with FormValue to prevent map access panics.</p></pre>zowhoey: <pre><p>Thanks, I've changed it to FormValue now and it looks much better</p></pre>barsonme: <pre><p>You do know this line: <a href="https://github.com/zowhoey/gologin-gpg/blob/97bf4d3437436653f8108859e9f82f57a6ccd787/login.go#L17" rel="nofollow">https://github.com/zowhoey/gologin-gpg/blob/97bf4d3437436653f8108859e9f82f57a6ccd787/login.go#L17</a> just overwrites the previous <code>p := ...</code> line, right?</p></pre>zowhoey: <pre><p>Ohhhh, thank you, I completely missed that. I don't know how that happened, but I fixed it now. </p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传