diff --git a/explorer/src/components/account/SecurityCard.tsx b/explorer/src/components/account/SecurityCard.tsx index 2325bedc7edbca..52b8a3ad18080d 100644 --- a/explorer/src/components/account/SecurityCard.tsx +++ b/explorer/src/components/account/SecurityCard.tsx @@ -78,15 +78,25 @@ const ROWS: TableRow[] = [ key: "preferred_languages", type: DisplayType.String, }, + { + display: "Secure Contact Encryption", + key: "encryption", + type: DisplayType.PGP, + }, { display: "Source Code URL", key: "source_code", type: DisplayType.URL, }, { - display: "Secure Contact Encryption", - key: "encryption", - type: DisplayType.PGP, + display: "Source Code Release Version", + key: "source_release", + type: DisplayType.String, + }, + { + display: "Source Code Revision", + key: "source_revision", + type: DisplayType.String, }, { display: "Auditors", diff --git a/explorer/src/utils/security-txt.ts b/explorer/src/utils/security-txt.ts index f8391ff2f4cf9a..3649755c60ad8b 100644 --- a/explorer/src/utils/security-txt.ts +++ b/explorer/src/utils/security-txt.ts @@ -6,8 +6,10 @@ export type SecurityTXT = { contacts: string; policy: string; preferred_languages?: string; - source_code?: string; encryption?: string; + source_code?: string; + source_release?: string; + source_revision?: string; auditors?: string; acknowledgements?: string; expiry?: string; @@ -24,8 +26,10 @@ const VALID_KEYS: (keyof SecurityTXT)[] = [ "contacts", "policy", "preferred_languages", - "source_code", "encryption", + "source_code", + "source_release", + "source_revision", "auditors", "acknowledgements", "expiry",