Go 1.20.2 和 Go1.19.7 发布了

polaris · 2023-03-09 12:49:30 · 2230 次点击 · 大约8小时之前 开始浏览    置顶
这是一个创建于 2023-03-09 12:49:30 的主题,其中的信息可能已经有所发展或是发生改变。

今早,Go 官方发布了两个小版本:Go1.20.2 和 Go1.19.7,主要是因为有一个安全问题。不过同时进行了一些 Bugfix。

安全问题是 crypto/elliptic 包。

  • crypto/elliptic: incorrect P-256 ScalarMult and ScalarBaseMult results

    The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an
    incorrect result if called with some specific unreduced scalars (a scalar larger
    than the order of the curve).

    This does not impact usages of crypto/ecdsa or crypto/ecdh.

详见 issue:https://go.dev/issue/58647

此外,还进行了一些 Bug 的修复,Go1.20.2 版本 Close 的 issue 有 17 个 :https://github.com/golang/go/issues?q=milestone%3AGo1.20.2+label%3ACherryPickApproved,1.19.7 版本 Close 的 issue 有 7 个:https://github.com/golang/go/issues?q=milestone%3AGo1.19.7+label%3ACherryPickApproved

跟之前一样,Go 语言中文网准备好了安装包:https://studygolang.com/dl

你也可以使用你喜欢的方式升级试用,或用官方给出的方式试用:

go1.20.2.png


有疑问加站长微信联系(非本文作者)

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

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