Skip to content

Commit 3bd61b1

Browse files
authored
Merge pull request #395 from onekey-sec/feat-zstd-format
Add ZSTD compression format
2 parents 266266c + 786cc66 commit 3bd61b1

File tree

22 files changed

+139
-3
lines changed

22 files changed

+139
-3
lines changed

.github/actions/setup-dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
using: "composite"
88
steps:
99
- name: Install 3rd party from apt
10-
run: sudo apt install e2fsprogs p7zip-full unar zlib1g-dev liblzo2-dev lzop lziprecover img2simg libhyperscan-dev
10+
run: sudo apt install e2fsprogs p7zip-full unar zlib1g-dev liblzo2-dev lzop lziprecover img2simg libhyperscan-dev zstd
1111
shell: bash
1212

1313
- name: Install sasquatch

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2121
xz-utils \
2222
zlib1g-dev \
2323
libmagic1 \
24-
libhyperscan5
24+
libhyperscan5 \
25+
zstd
2526
RUN curl -L -o sasquatch_1.0_amd64.deb https://github.com/onekey-sec/sasquatch/releases/download/sasquatch-v1.0/sasquatch_1.0_amd64.deb \
2627
&& dpkg -i sasquatch_1.0_amd64.deb \
2728
&& rm -f sasquatch_1.0_amd64.deb

default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
, unar
1717
, file
1818
, hyperscan
19+
, zstd
1920
}:
2021

2122
let
@@ -30,6 +31,7 @@ let
3031
sasquatch.bigEndian
3132
simg2img
3233
unar
34+
zstd
3335
];
3436

3537
self = mkPoetryApp {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:81468a5c3508970bed02d0824e394497407d0964bc37556de141347f1e320317
3+
size 2632
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c79b72ddd77445e2ba70810ae04eef63e8dfb0dce9638200e418ea4a670b9f5c
3+
size 2628
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:37aab92d3ca37b75e87a30e7656d26ecd580b88a270cd09df8bcf7a0edd11177
3+
size 2628
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:c2619fb8093ec1eaab0669e4622a5ffe7bce9c28d03b74858a42b9c73c02b0b8
3+
size 1312
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:52738e82d35ccdb2c85e5dfcb30f8c320a7ae7e1b427203cd9e566f3d8b97820
3+
size 2624
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:36a4aba0dcec23e926f0692065524808479c33f4501bae79348f8f005f10b21c
3+
size 4
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:36a4aba0dcec23e926f0692065524808479c33f4501bae79348f8f005f10b21c
3+
size 4

0 commit comments

Comments
 (0)