Skip to content
This repository was archived by the owner on Jul 11, 2026. It is now read-only.

Commit b9d072a

Browse files
h4x0rclaude
andcommitted
chore(license): relicense MIT → Apache-2.0 (fleet standard)
The SecurityRonin forensic fleet standardizes on Apache-2.0 for its explicit patent grant. Replace the MIT LICENSE, the Cargo license field, and the README badge accordingly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 2d7ca10 commit b9d072a

3 files changed

Lines changed: 192 additions & 25 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resolver = "2"
88
version = "0.2.1"
99
edition = "2021"
1010
rust-version = "1.85"
11-
license = "MIT"
11+
license = "Apache-2.0"
1212
repository = "https://github.com/SecurityRonin/ewf"
1313
homepage = "https://github.com/SecurityRonin/ewf"
1414
documentation = "https://docs.rs/ewf"

LICENSE

Lines changed: 188 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,188 @@
1-
MIT License
2-
3-
Copyright (c) 2026 Albert Hui
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
Apache License
2+
Version 2.0, January 2004
3+
http://www.apache.org/licenses/
4+
5+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6+
7+
1. Definitions.
8+
9+
"License" shall mean the terms and conditions for use, reproduction,
10+
and distribution as defined by Sections 1 through 9 of this document.
11+
12+
"Licensor" shall mean the copyright owner or entity authorized by
13+
the copyright owner that is granting the License.
14+
15+
"Legal Entity" shall mean the union of the acting entity and all
16+
other entities that control, are controlled by, or are under common
17+
control with that entity. For the purposes of this definition,
18+
"control" means (i) the power, direct or indirect, to cause the
19+
direction or management of such entity, whether by contract or
20+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
21+
outstanding shares, or (iii) beneficial ownership of such entity.
22+
23+
"You" (or "Your") shall mean an individual or Legal Entity
24+
exercising permissions granted by this License.
25+
26+
"Source" form shall mean the preferred form for making modifications,
27+
including but not limited to software source code, documentation
28+
source, and configuration files.
29+
30+
"Object" form shall mean any form resulting from mechanical
31+
transformation or translation of a Source form, including but
32+
not limited to compiled object code, generated documentation,
33+
and conversions to other media types.
34+
35+
"Work" shall mean the work of authorship made available under
36+
the License, as indicated by a copyright notice that is included in
37+
or attached to the work (an example is provided in the Appendix below).
38+
39+
"Derivative Works" shall mean any work, whether in Source or Object
40+
form, that is based on (or derived from) the Work and for which the
41+
editorial revisions, annotations, elaborations, or other
42+
transformations represent, as a whole, an original work of authorship.
43+
For the purposes of this License, Derivative Works shall not include
44+
works that remain separable from, or merely link (or bind by name)
45+
to the interfaces of, the Work and Derivative Works thereof.
46+
47+
"Contribution" shall mean, as submitted to the Licensor for inclusion
48+
in the Work by the copyright owner or by an individual or Legal Entity
49+
authorized to submit on behalf of the copyright owner. For the purposes
50+
of this definition, "submitted" means any form of electronic, verbal,
51+
or written communication sent to the Licensor or its representatives,
52+
including but not limited to communication on electronic mailing lists,
53+
source code control systems, and issue tracking systems that are managed
54+
by, or on behalf of, the Licensor for the purpose of discussing and
55+
improving the Work, but excluding communication that is conspicuously
56+
marked or designated in writing by the copyright owner as "Not a
57+
Contribution."
58+
59+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
60+
whom a Contribution has been received by the Licensor and included
61+
within the Work.
62+
63+
2. Grant of Copyright License. Subject to the terms and conditions of
64+
this License, each Contributor hereby grants to You a perpetual,
65+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66+
copyright license to reproduce, prepare Derivative Works of,
67+
publicly display, publicly perform, sublicense, and distribute the
68+
Work and such Derivative Works in Source or Object form.
69+
70+
3. Grant of Patent License. Subject to the terms and conditions of
71+
this License, each Contributor hereby grants to You a perpetual,
72+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73+
(except as stated in this section) patent license to make, have made,
74+
use, offer to sell, sell, import, and otherwise transfer the Work,
75+
where such license applies only to those patent claims licensable
76+
by such Contributor that are necessarily infringed by their
77+
Contribution(s) alone or by the combined work (as a Contributor
78+
alone or by the combined work as a Contributor) of their
79+
Contribution(s) alone or by the combined work (as a Contributor).
80+
If You institute patent litigation against any entity (including a
81+
cross-claim or counterclaim in a lawsuit) alleging that the Work
82+
or a Contribution incorporated within the Work constitutes direct
83+
or contributory patent infringement, then any patent licenses
84+
granted to You under this License for that Work shall terminate
85+
as of the date such litigation is filed.
86+
87+
4. Redistribution. You may reproduce and distribute copies of the
88+
Work or Derivative Works thereof in any medium, with or without
89+
modifications, and in Source or Object form, provided that You
90+
meet the following conditions:
91+
92+
(a) You must give any other recipients of the Work or Derivative
93+
Works a copy of this License; and
94+
95+
(b) You must cause any modified files to carry prominent notices
96+
stating that You changed the files; and
97+
98+
(c) You must retain, in the Source form of any Derivative Works
99+
that You distribute, all copyright, patent, trademark, and
100+
attribution notices from the Source form of the Work,
101+
excluding those notices that do not pertain to any part of
102+
the Derivative Works; and
103+
104+
(d) If the Work includes a "NOTICE" text file as part of its
105+
distribution, You must include a readable copy of the
106+
attribution notices contained within such NOTICE file, in
107+
at least one of the following places: within a NOTICE text
108+
file distributed as part of the Derivative Works; within
109+
the Source form or documentation, if provided along with the
110+
Derivative Works; or, within a display generated by the
111+
Derivative Works, if and wherever such third-party notices
112+
normally appear. The contents of the NOTICE file are for
113+
informational purposes only and do not modify the License.
114+
You may add Your own attribution notices within Derivative
115+
Works that You distribute, alongside or in addition to the
116+
NOTICE text from the Work, provided that such additional
117+
attribution notices cannot be construed as modifying the
118+
License.
119+
120+
You may add Your own license statement for Your modifications and
121+
may provide additional grant of rights to use, reproduce, modify,
122+
prepare Derivative Works of, convert to Source form, and distribute
123+
such Modifications, as a separate work, provided Your use,
124+
reproduction, modification, preparation of Derivative Works,
125+
conversion to Source form, and distribution of such Modifications
126+
complies with the terms and conditions of this License.
127+
128+
5. Submission of Contributions. Unless You explicitly state otherwise,
129+
any Contribution intentionally submitted for inclusion in the Work
130+
by You to the Licensor shall be under the terms and conditions of
131+
this License, without any additional terms or conditions.
132+
Notwithstanding the above, nothing herein shall supersede or modify
133+
the terms of any separate license agreement you may have executed
134+
with Licensor regarding such Contributions.
135+
136+
6. Trademarks. This License does not grant permission to use the trade
137+
names, trademarks, service marks, or product names of the Licensor,
138+
except as required for reasonable and customary use in describing the
139+
origin of the Work and reproducing the content of the NOTICE file.
140+
141+
7. Disclaimer of Warranty. Unless required by applicable law or
142+
agreed to in writing, Licensor provides the Work (and each
143+
Contributor provides its Contributions) on an "AS IS" BASIS,
144+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
145+
implied, including, without limitation, any warranties or conditions
146+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
147+
PARTICULAR PURPOSE. You are solely responsible for determining the
148+
appropriateness of using or reproducing the Work and assume any
149+
risks associated with Your exercise of permissions under this License.
150+
151+
8. Limitation of Liability. In no event and under no legal theory,
152+
whether in tort (including negligence), contract, or otherwise,
153+
unless required by applicable law (such as deliberate and grossly
154+
negligent acts) or agreed to in writing, shall any Contributor be
155+
liable to You for damages, including any direct, indirect, special,
156+
incidental, or exemplary damages of any character arising as a
157+
result of this License or out of the use or inability to use the
158+
Work (including but not limited to damages for loss of goodwill,
159+
work stoppage, computer failure or malfunction, or all other
160+
commercial damages or losses), even if such Contributor has been
161+
advised of the possibility of such damages.
162+
163+
9. Accepting Warranty or Liability. While redistributing the Work or
164+
Derivative Works thereof, You may choose to offer, and charge a fee
165+
for, acceptance of support, warranty, indemnity, or other liability
166+
obligations and/or rights consistent with this License. However, in
167+
accepting such obligations, You may offer such obligations only on
168+
Your own behalf and on Your sole responsibility, not on behalf of
169+
any other Contributor, and only if You agree to indemnify, defend,
170+
and hold each Contributor harmless for any liability incurred by,
171+
or claims asserted against, such Contributor by reason of your
172+
accepting any such warranty or additional liability.
173+
174+
END OF TERMS AND CONDITIONS
175+
176+
Copyright 2026 Security Ronin Ltd.
177+
178+
Licensed under the Apache License, Version 2.0 (the "License");
179+
you may not use this file except in compliance with the License.
180+
You may obtain a copy of the License at
181+
182+
http://www.apache.org/licenses/LICENSE-2.0
183+
184+
Unless required by applicable law or agreed to in writing, software
185+
distributed under the License is distributed on an "AS IS" BASIS,
186+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
187+
See the License for the specific language governing permissions and
188+
limitations under the License.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Crates.io](https://img.shields.io/crates/v/ewf.svg)](https://crates.io/crates/ewf)
44
[![docs.rs](https://img.shields.io/docsrs/ewf)](https://docs.rs/ewf)
5-
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
5+
[![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
66
[![CI](https://github.com/SecurityRonin/ewf/actions/workflows/ci.yml/badge.svg)](https://github.com/SecurityRonin/ewf/actions)
77
[![Coverage](https://img.shields.io/badge/coverage-99.86%25-brightgreen)](docs/corpus-validation.md)
88
[![Sponsor](https://img.shields.io/badge/sponsor-h4x0r-ea4aaa?logo=github-sponsors)](https://github.com/sponsors/h4x0r)
@@ -112,7 +112,7 @@ reader.seek(SeekFrom::Start(1_048_576))?;
112112
- **Acquisition errors** — extracts read-error entries from error2 sections
113113
- **table + table2 resilience** — handles both section types, deduplicates correctly
114114
- **DoS-safe** — guards against malformed images with absurd table entry counts
115-
- **MIT licensed** — no GPL, safe for proprietary DFIR tooling
115+
- **Apache-2.0 licensed** — no GPL, safe for proprietary DFIR tooling
116116

117117
## Library API examples
118118

@@ -232,7 +232,7 @@ When evidence arrives in a different container format, these crates provide the
232232

233233
## License
234234

235-
MIT
235+
Apache-2.0
236236

237237
---
238238

0 commit comments

Comments
 (0)