GPG login page written in Go - POC

polaris · · 671 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<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&#39;s not really the most convenient login, but it&#39;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&#39;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&#39;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&#39;t know how that happened, but I fixed it now. </p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

671 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传