מידע על אריחים
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מידע כללי על Android Binary Transparency זמין בדף הראשי של Binary Transparency.
בדף הזה מפורטים פרטים נוספים על הפורמט של הקבצים בספריות השונות של tile/
.
הקבצים האלה מכילים את הגיבוב של צמתים בMerkle Tree שמייצגים את יומן השקיפות הבינארית של קובצי האימג' של Pixel Factory.
בנוסף, הגיבובים האלה נארזים בפריטי מידע (tiles). סקירה כללית על חלוקת העץ למשבצות מופיעה במאמר חלוקת יומן למשבצות.
ביומן הזה, הגיבוב של הצמתים מתבצע באמצעות SHA256. אנחנו משתמשים בספרייה tlog כדי לכתוב את המשבצות במיוחד עם גובה של משבצת אחת. המשמעות היא שכל משבצת מכילה עד 2^height = 2 גרסאות גיבוי (hash), כל אחת באורך 32 בייטים.
פרטים על בניית נתיבי משבצות זמינים במסמכי התיעוד של tlog Tile.
השורש של המשבצת של כל יומן מוצג בכתובת:
- יומן השקיפות של Pixel
https://developers.google.com/android/binary_transparency/tile
- יומן השקיפות של חבילות APK במערכת Google
https://developers.google.com/android/binary_transparency/google1p/tile/
דוגמה לעיבוד נתונים באמצעות משבצות
כדי להבין טוב יותר איך פועלים האריחים, נציג דוגמה באמצעות יומן השקיפות של Pixel.
נניח שמדובר בעץ בגודל 8. אם בודקים את הרשומה באינדקס 3, זה יהיה המחרוזת הקצרה הראשונה באריח t(0, 1)
. הנתיבים של המשבצות הם מהסוג tile/H/L/NNN[.p/W]
. לכן, הנתיב של המשבצת t(0, 1)
יהיה https://developers.google.com/android/binary_transparency/tile/1/0/001.
שורש העץ יהיה ב-tile t(3, 0)/1
, שהוא הנתיב https://developers.google.com/android/binary_transparency/tile/1/3/000.p/1.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-02 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-12-02 (שעון UTC)."],[[["This page provides details on the format of files within the `tile/` directory, which contain hashes of Merkle Tree nodes representing the Binary Transparency log for Pixel Factory Images."],["These hashes are organized into tiles, utilizing SHA256 hashing and the `tlog` library with a tile height of 1, resulting in a maximum of 2 hashes per tile."],["Tile paths are constructed following the `tlog Tile` documentation and are represented in the format `tile/H/L/NNN[.p/W]`, enabling specific hash retrieval within the log structure."],["Accessing specific entries involves locating the corresponding tile based on its index; for instance, entry 3 resides in tile `t(0, 1)`, found at the path `tile/1/0/001`."]]],["The `tile/` directories contain SHA256 hashes of Merkle Tree nodes, representing the Binary Transparency log for Pixel Factory Images. These hashes are organized into tiles, with each tile containing at most two 32-byte hashes. The tile path structure is `tile/H/L/NNN[.p/W]`. For example, the tile for entry index 3 in a size-8 tree is found at path `/1/0/001`. The root tile is located at path `/1/3/000.p/1`. The Pixel Transparency Log and Google System APK Transparency Log can be found in specific URLs.\n"]]