0942 yebis
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 「AMA: Go を使用した安全性と信頼性の高い開発」のまとめメモ TODOになってるところは書きかけです。 https://events.google.com/io/session/7b7e7dd8-57a5-4459-a96e-1494d09efbe6 ## ファジング https://go.googlesource.com/proposal/+/master/design/draft-fuzzing.md に関連した話。このプロポーザルは読んでないし、ファジングを使ったこともないので間違ったまとめになってるかもしれない。 - 6:00 “What are some new things coming to Go that help with end-to-end security?” - 「E2Eのセキュリティを向上させるようなGoの新機能について教えてください」 - この質問の回答の後半で言及された。 - ファジングの概要と、この機能がGo本体でサポートされることの意義について。 - 9:14 How long do you think it will be before the new go fuzzing proposal uncovers bugs in hardware? - 「Goの新しいファジングの提案でハードウェアのバグが見つかるのはいつごろになりそうですか?」 - (ハードウェアのバグ、というのがよくわからない。なんか誤解してるかも) - ファジングは遠からずリリースされる見込み - ベータ版のうちから使ってほしい - coverage-guided fuzzingもサポートしてるよ - (生成した入力がコードのどの部分をカバーしてるかを確認して、カバー率を上げるような入力を生成する的な何からしい) - 14:30 Will there be a way to seed fuzzing or trace the seed for a fuzz so errors can be repeated? - 入力は簡単に再現できる - (そのほかにも何か話されてたけどよくわからなかった) - 21:25 Will fuzzing be more than just type registries with candidate values per type? What kind of smarts are in fuzzing? - type registryというのはよくわからない - 今は基本的な型だけをサポートしているが、今後はより複雑な型もサポートする予定 ## サードパーティーのライブラリ - 2:25 How does Go provide dependency management? - go.modというファイルで依存ライブラリの名前とバージョンを管理している - 4:00 How do I choose dependencies for my project? - pkg.go.devはサードパーティーライブラリを選ぶための情報を提供している - その情報は「人気」と「品質」と「安定性」の3つに分けられる - (それぞれの定義とか、なぜそれが重要なのか、という話が続く) - 6:00 What are some new things coming to Go that help with end-to-end security? - 「E2Eのセキュリティを向上させるようなGoの新機能について教えてください」 - Goの脆弱性が見つかったとき、それが自分のアプリケーションに影響するかどうか知ることができる仕組みを作ろうとしている - 公開された脆弱性を収集するデータベース - そのデータベースにアクセスして自分のコードベースが影響を受けるかを確認するgo auditというツール - 脆弱性のあるバージョンのライブラリを使っているかどうかだけではなく、脆弱性があるコードを呼び出しているかどうかまで検出してくれる - 10:33 Are there any plans to limit what dependencies can do? For example, declaring that a dependency package can’t make network calls or execute child processes? - そういう計画はない - Goはメモリを直接読み書きできるので、そういった制限を実装するの難しい - 以前はsafe compiler modeというのがあったけどgo 1.12で削除された - gVisorみたいなサンドボックスを使ったほうがいい - とはいえSpectreのようなCPUの脆弱性を突かれればサンドボックスも意味がない - 12:10 How to be sure that the public Go library that I use is secure and doesn't contain backdoors or something else? - テストコードの有無を確認するとか、pkg.go.devのバージョン履歴を確認するとか、脆弱性データベースを参照するとか - (テストコードの有無はあまり関係ないような気がする。解釈間違ってるかも) - 信頼できる人が作っているか、利用者の数も指標になる - とはいえ、バックドアがないことを確かめる確実な手立てはない - Goには依存をできるだけ少なくするという文化がある - 依存が少なければそれだけ安全になる - 23:30 What are some features on pkg.go.dev that can help me evaluate if a project is stable? - バージョンが1.0に到達していれば安定していそう - 古いバージョンを削除していれば(?)pkg.go.devの画面には黄色い警告マークが出る - 今後、pkg.go.devにはパッケージのAPIの履歴を表示したり、バージョン間の差異を表示する機能を追加する予定 - 24:40 Why do Go modules require SemVer? - TODO - 27:26 How often do you have to deprecate older crypto libraries? Do these deprecations break older versions of Go? - deprecateしたが削除してはいないので、互換性を壊すことはない - エディタとかで「deprecatedな機能を使っているよ」という警告は出るはず ## その他 - 17:00 What is the best IDE for secure Go development? - JetBrains製のGoLandについてはコメントできないので、ここではVSCodeやその他のエディタについて話したい - LSPを使っているエディタならgoplsをバックエンドにしているので機能は変わらない - ただし、VSCodeはユーザーが多いので、goplsがサポートしていないgolangci-lintなどのlinterを直接サポートするプラグインがあったりする - (このへんよく聞き取れなかったので間違ってるかも) - VSCodeにはtrusted workspaceという仕組みは開発時のセキュリティを高めるのに役立つ - 信頼できないGoのコードが拡張にうっかり実行されないようにガードする仕組み - (セキュリティの高いコードを書くための仕組みではない) - Goでは依存を解決してビルドしてソースコードを開くだけではコードが実行されないように設計されている - 19:30 Does Go have a debugger? What are upcoming new features for debugging? - delveというデバッガがある - delveをDebug Adapter Protocolというデバッガの共通プロトコルに対応させようというプロジェクトが進行中 - 29:00 What is one thing you would recommend checking out for Go? - TODO

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully