Title: Mac Installer format: XAR or DMG? · Issue #545 · OpenSourceHelpCommunity/Questions · GitHub
Open Graph Title: Mac Installer format: XAR or DMG? · Issue #545 · OpenSourceHelpCommunity/Questions
X Title: Mac Installer format: XAR or DMG? · Issue #545 · OpenSourceHelpCommunity/Questions
Description: I am working on tool that extracts and views contents of various archives. One such archive is DMG. Tool is correctly extracting DMG archives. But one specific type of DMG file which is macOS Big Sur installer,SharedSupport.dmg or any ot...
Open Graph Description: I am working on tool that extracts and views contents of various archives. One such archive is DMG. Tool is correctly extracting DMG archives. But one specific type of DMG file which is macOS Big S...
X Description: I am working on tool that extracts and views contents of various archives. One such archive is DMG. Tool is correctly extracting DMG archives. But one specific type of DMG file which is macOS Big S...
Opengraph URL: https://github.com/OpenSourceHelpCommunity/Questions/issues/545
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mac Installer format: XAR or DMG?","articleBody":"I am working on tool that extracts and views contents of various archives. One such archive is DMG. Tool is correctly extracting DMG archives. But one specific type of DMG file which is macOS Big Sur installer,SharedSupport.dmg or any other similar installer like Ventura and so on, is not getting extracted, as it has XAR header as well. So structure seems different from the other ones. When inspecting the byte stream,I see both a [XAR](https://en.wikipedia.org/wiki/Xar_(archiver)) and a [DMG](https://en.wikipedia.org/wiki/Apple_Disk_Image) structure.\r\n\r\nTo be more specific, it has:\r\n\r\n1. the XAR signature \"78 61 72 21\" at the beginning of the file,\r\n2. and the DMG signature \"6B 6F 6C 79\" at the end of the file, i.e., there is a 512 byte-trailer that contains the magic signature \"koly\".\r\n\r\nAny DMG package other than a macOS installer does not have such signature at the beginning of the file.\r\n\r\nDoes that mean a macOS installer isn't actually a DMG file but a XAR file? Why does it have XAR header?","author":{"url":"https://github.com/ankd1601","@type":"Person","name":"ankd1601"},"datePublished":"2024-12-30T06:03:42Z","url":"https://github.com/OpenSourceHelpCommunity/Questions/issues/545"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c06cf38a-8f41-3e1e-3a48-689b7da9d90b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1A2:134361:E25476:12AB900:6B00FE2D |
| html-safe-nonce | 2a58a0ad6f7678adaf413ff0101e2aed2d0e03a07fcf4fa099fa156ab359e8b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUEyOjEzNDM2MTpFMjU0NzY6MTJBQjkwMDo2QjAwRkUyRCIsInZpc2l0b3JfaWQiOiI0MjEwNzcxMTI5NzQ2MzkwNTczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7319021b82cb01adea47a229baafd31b095ec362aec1a1849438b9c316fa74f3 |
| hovercard-subject-tag | issue:2762693240 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/OpenSourceHelpCommunity/Questions/545/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b22e0a8a3a8659dddf7cff0ae00a0e94bdb2c0fccc553fa83572063467e0ec2/OpenSourceHelpCommunity/Questions/issues/545 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b22e0a8a3a8659dddf7cff0ae00a0e94bdb2c0fccc553fa83572063467e0ec2/OpenSourceHelpCommunity/Questions/issues/545 |
| og:image:alt | I am working on tool that extracts and views contents of various archives. One such archive is DMG. Tool is correctly extracting DMG archives. But one specific type of DMG file which is macOS Big S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ankd1601 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/OpenSourceHelpCommunity/Questions git https://github.com/OpenSourceHelpCommunity/Questions.git |
| octolytics-dimension-user_id | 23719480 |
| octolytics-dimension-user_login | OpenSourceHelpCommunity |
| octolytics-dimension-repository_id | 78395582 |
| octolytics-dimension-repository_nwo | OpenSourceHelpCommunity/Questions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 78395582 |
| octolytics-dimension-repository_network_root_nwo | OpenSourceHelpCommunity/Questions |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width