compatibility: bottlerocket metadata uses microseconds in expiry

オープン
#1,857 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
security

調査の方向性

まず、Bottlerocket の timestamp.json の例を使って ngclient の失敗を再現し、デシリアライズ中の有効期限の処理を追跡します。示されている仕様要件に照らして、互換性の問題を確認します。マイクロ秒単位の有効期限値に対する動作を決定し、関連するメタデータ入力でそれを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

We have recently started to not accept microseconds in the expiry in an effort to be spec compliant.

Testing ngclient against bottlerocket metadata fails because they use microseconds:
https://updates.bottlerocket.aws/2020-07-07/aws-k8s-1.16/x86_64/timestamp.json

  • could file an issue in awslabs (though I'm not sure if this is their problem or not)
  • Maybe reconsider if we are too strict and should accept this input in deserialization (even if not when expiry is set in code)?
主要言語
Python
スター
1.7k
フォーク
304
平均マージ
1日 2時間
マージ済み PR(30日)
17

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

theupdateframework/python-tuf のほかの issue

theupdateframework/python-tuf の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。