Comments (4)
Early tests for a 1 chunk small compressed file are promising: Note that items like file size, chunk size, chunk byte width are never stored with encrypted files. Each encrypted block is chained until an EOF marker is found. Since total file size is not stored, all compression ratios are meaningless. I may decide just to add a message about how these items can't be computed. But, it's a start. I'll push a branch on this after a little more work.
$ ./lrzip-next -vvi ../../*git.tar.lrz
Using configuration file /home/peter/.lrzip/lrzip.conf
Detected lrzip version 0.7 file.
Encryption hash loops 4816896
Enter passphrase:
Hashing passphrase 4816896 (16225333) times
Rzip chunk 1:
Chunk byte width: 0
Chunk size: 0
Decrypting data
Stream: 0
Offset: 26
Block Comp Percent Size
Decrypting data
1 lzma 50.9% 97130 / 190876 Offset: 92 Head: 0
Decrypting data
Stream: 1
Offset: 26
Block Comp Percent Size
Decrypting data
1 lzma 78.8% 6015834 / 7633616 Offset: 97263 Head: 0
Rzip compression: 782449200.0% 7824492 / 0
Back end compression: 78.1% 6112964 / 7824492
Overall compression: 611296400.0% 6112964 / 0
../../lrzip-next.git.tar.lrz:
lrzip version: 0.7 file
Compression: rzip + lzma -- lc = 3, lp = 0, pb = 2, Dictionary Size = 33554432
Decompressed file size: 0
Compressed file size: 6113154
Compression ratio: 0.000*****
MD5 used for integrity testing
MD5: 5bc5ec0077c33fe9bf12ab9c3c0ea856
from lrzip-next.
An in-progress commit has been made to branch decrypt_info. It's been tested with one chunk files, but not larger. Some fudging with the offs
variable before going to next_chunk
may be needed in order to properly read the salt for the next encrypted block. Output has also been fixed to improve messages when the expected size of the decompressed file is not known (happens when output to STDOUT or if file is encrypted). Compare with above.
Due to using STDOUT or ENCRYPTION, expected decompression size not available
Rzip compression: Unavailable
Back end compression: 78.1% 6112964 / 7824492
Overall compression: Unavailable
../lrzip-next.git.tar.lrz:
lrzip version: 0.7 file
Compression: rzip + lzma -- lc = 3, lp = 0, pb = 2, Dictionary Size = 33554432
Decompressed file size: Unavailable
Compressed file size: 6113154
Compression ratio: Unavailable
MD5 used for integrity testing
MD5: 5bc5ec0077c33fe9bf12ab9c3c0ea856
from lrzip-next.
Multi-Chunk encrypted files can have INFO shown. Also fixed inability to show percentages for encrypted files or those whose decompressed size is not known. i.e. written to STDOUT or ENCRYPTED.
Rzip chunk 2:
Chunk byte width: 0
Chunk size: 0
Stream: 0
Offset: 4696976595
Block Comp Percent Size
1 lzo 64.3% 1103054 / 1714931 Offset: 7054662282 Head: 0 Encrypted
Stream: 1
Offset: 4696976595
Block Comp Percent Size
1 lzo 23.0% 70471633 / 306668279 Offset: 4696976661 Head: 70471740 Encrypted
2 lzo 39.6% 121582588 / 306668279 Offset: 4767448335 Head: 192054369 Encrypted
3 lzo 48.1% 147572420 / 306668279 Offset: 4889030964 Head: 339626830 Encrypted
4 lzo 45.2% 138497664 / 306668279 Offset: 5036603425 Head: 478124535 Encrypted
5 lzo 43.4% 132997656 / 306668279 Offset: 5175101130 Head: 611122232 Encrypted
6 lzo 53.3% 163313785 / 306668279 Offset: 5308098827 Head: 774436058 Encrypted
7 lzo 40.5% 124211994 / 306668279 Offset: 5471412653 Head: 898648093 Encrypted
...
Due to using STDOUT or ENCRYPTION, expected decompression size not available
Rzip compression: Unavailable
Back end compression: 46.3% 7069596696 / 15253879930
Overall compression: Unavailable
filename.tar.lrz:
lrzip version: 0.7 file
Compression: rzip + lzo
Decompressed file size: Unavailable
Compressed file size: 7069599045
Compression ratio: Unavailable
MD5 used for integrity testing
MD5: f441f4144cc11ebe4a1f87b0542847cd
from lrzip-next.
Fixed in master, 0.7.60
from lrzip-next.
Related Issues (20)
- ZPAQ Compression issue when lrizip-next block size > zpaq block size HOT 3
- :lady_beetle: linker warning: missing .note.GNU-stack section implies executable stack HOT 2
- Found typo in viewing compression info on a lrz file HOT 1
- :lady_beetle: lrzip-next segfaults when STDIN + -o filename used. HOT 2
- :lady_beetle: [Certain files compressed with ZPAQ fail to compress successfully] HOT 5
- :lady_beetle: [Slower than lrzip, same arguments, stuck at 99%] HOT 4
- :lady_beetle: [Broken Pipe at 55% on L9] HOT 21
- Huanglei3 reported a bug in lrzip that is not duplicated here HOT 3
- Read zero page memory HOT 1
- :bulb: Have lzma backend respect -p# option HOT 9
- :bulb: possible precomp support HOT 2
- :lady_beetle: Decompress/Test/Info fails with --bzip2, gzip, lzo
- :lady_beetle: Losing on ISO/Zip on rare cases HOT 11
- From lrzip: lrzip 0.631 occasionally hangs forever HOT 5
- Enhance lzo compression by using all 5 methods HOT 2
- :lady_beetle: double free detected in tcache 2 HOT 1
- :lady_beetle: zstd compression fails when all blocks are incompressible HOT 1
- :lady_beetle: fake_mremap does not compile HOT 3
- From lrzip: Suggestion to support encrypted Stdin/Stdout when password provided on command line #251 HOT 1
- :bulb: Allow PROCESSORS to be set in lrzip.conf file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lrzip-next.