#1 2010-08-24 13:36:56

tueddy
Member
Registered: 2010-08-03
Posts: 11

SynZIP

Hi AB,

I failed to create a ZIP-archive with (WinZip compatible) AES encryption.
I wonder if it's possible with your component.
Algo: 7=AES+Zip-chunked? Is it WinZIP compatible?
Do you have an idea or code snippet?

Thanks and best regards
Dirk Carstensen

Offline

#2 2010-10-03 09:00:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynZIP

No, I'm sorry, it's not winZip compatible.
Because I was not able to find low level information of this format.
So I implemented our own, with some other compression schemes (LZO or LZ).

But it's only used internally, not fully tested/published yet.
Sorry.

If you have some ideas or resources about AES WinZip format, it could be interesting.

Online

#3 2010-10-04 07:34:30

tueddy
Member
Registered: 2010-08-03
Posts: 11

Re: SynZIP

Hi AB,

thanks for your reply! I found a description of the ZIP file format including AES encryption here:
ftp://ftp.info-zip.org/pub/infozip/doc/ … latest.zip
And a detailed documentation page here:
http://www.winzip.com/aes_info.htm

Best regards
Dirk Carstensen

Offline

#4 2010-10-04 10:45:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynZIP

OK thanks for the info

I'll take a look and try to see what's there.

Online

#5 2010-10-05 05:51:40

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynZIP

I need to change:
- The way the special compression types are stored in the file;
- The encryption mode, which must be CTR;
- So I need to include CTR to the SynCrypto unit.

Online

#6 2010-10-05 18:22:23

tueddy
Member
Registered: 2010-08-03
Posts: 11

Re: SynZIP

CTR?

best regards
Dirk

Offline

#7 2010-10-05 19:11:38

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Online

#8 2010-10-06 14:44:56

tueddy
Member
Registered: 2010-08-03
Posts: 11

Re: SynZIP

Hi AB,

thanks for the info!
Best regards
Dirk

Offline

#9 2011-02-26 22:47:44

tueddy
Member
Registered: 2010-08-03
Posts: 11

Re: SynZIP

Hi AB,

any news about that subject?

Best regards
Dirk

Offline

#10 2011-02-27 08:03:44

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynZIP

No, I didn't work on it yet.

Are you in a hurry?
Could you try to implement it, at least a first draft, and some unitary tests?

Online

#11 2011-09-10 19:23:10

DenisTheGreat
Member
Registered: 2011-09-10
Posts: 2

Re: SynZIP

Hello, AB.

Please tell me how to add an empty folder in the archive?

Thanks in advance.

Offline

#12 2011-09-11 06:59:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: SynZIP

With the current implementation, this is not possible without creating a void file in it.

In fact, the folders are not stored separately, but as part of every file name.

It may be possible to store empty folders, but you'll have to change the code.

Online

#13 2011-09-11 07:13:08

DenisTheGreat
Member
Registered: 2011-09-10
Posts: 2

Re: SynZIP

How can I do it?

Give, please, direction. Where to append/change code?

Offline

Board footer

Powered by FluxBB