Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Tar compression #14

Open
szepeviktor opened this issue May 20, 2015 · 9 comments
Open

Feature request: Tar compression #14

szepeviktor opened this issue May 20, 2015 · 9 comments

Comments

@szepeviktor
Copy link

Is it possible to gzip-compress tar output?

@johnmaguire
Copy link
Contributor

I will have to look into whether this is even possible while keeping memory usage low. I think that it theoretically should be as gzip compression is a sliding window compression algorithm if I'm not mistaken, but I'm not sure how much work this would be to implement.

@szepeviktor
Copy link
Author

Thank you!

@szepeviktor
Copy link
Author

@johnmaguire Please consider encryption also. I think if you can compress a stream then it should be possible to encrypt it.
I think encryption is essential for public Internet traffic.

@johnmaguire
Copy link
Contributor

Encryption for the web is typically done via SSL. As far as creating password-protected ZIP files goes, there's no plan for that.

@szepeviktor
Copy link
Author

In case of cheap websites "everyone" in transit will see raw data.

@szepeviktor
Copy link
Author

Could you point out in the code where to apply encryption?

@johnmaguire
Copy link
Contributor

You would have to implement it according to the spec layed out here in the zipstream.php file for ZIPs. As far as tars go, I don't think there is anything in the spec as far as encryption goes as it's just a container format. Even if we implemented the ability to create .tar.gz's, gzip is just a compression format.

@johnmaguire
Copy link
Contributor

@szepeviktor You might be interested in Let's Encrypt if money is an issue for SSL certificates. They are a vendor offering free certificates.

@johnmaguire johnmaguire changed the title Tar compression Feature request: Tar compression Dec 29, 2015
@szepeviktor
Copy link
Author

Thank you very much.
I am a StartSSL user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants