# Does anyone know the password for "file1" in zipWithEncryption?

**URL:** <https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817>\
**Category:** Logstash\
**Created:** [May 24, 2021, 11:44am UTC](https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817 "2021-05-24T11:44:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fox1](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@fox1](https://discuss.elastic.co/u/fox1)\
**Post date:** [May 24, 2021, 11:44am UTC](https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817/1 "2021-05-24T11:44:50Z")

</div>

HI all,

I just hope I'm on the right place...  
Does anyone know by chance what is the password for that little text file called " **file1**" in the zip file called " **zipWithEncryption**" ? located somewhere here :  
**...\layer\usr\share\logstash\vendor\bundle\jruby\2.5.0\gems\rubyzip-1.2.4\test\data\zipWithEncryption.zip**  
I need that for my new project at work.

Any help would be much appreciated.

Thanks a lot.

fox1.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 24, 2021, 2:47pm UTC](https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817/2 "2021-05-24T14:47:35Z")

</div>

[swordfish](https://github.com/rubyzip/rubyzip/blob/f0b50d3c6c7e54bbfeea7486c3a20eb39706bd86/test/encryption_test.rb#L19).

---

<div class="post-metadata">

**Author:** ![fox1](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@fox1](https://discuss.elastic.co/u/fox1)\
**Post date:** [May 24, 2021, 3:18pm UTC](https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817/3 "2021-05-24T15:18:40Z")

</div>

Thanks a lot Badger,  
But unfortunately this password doesn't seem to work.  
Do you have maybe a different password for that so I can try ?

Thanks again.

---

<div class="post-metadata">

**Author:** ![fox1](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@fox1](https://discuss.elastic.co/u/fox1)\
**Post date:** [May 25, 2021, 7:29am UTC](https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817/4 "2021-05-25T07:29:52Z")

</div>

Hi all,

My friend at work figured it out, the password is " **password**"  
The password can be located here :  
logstash/vendor/bundle/jruby/ 2.5.0/gems/rubyzip-1.2.4/test/ **encryption\_test.rb**

Thanks a lot.

Fox.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 22, 2021, 7:30am UTC](https://discuss.elastic.co/t/does-anyone-know-the-password-for-file1-in-zipwithencryption/273817/5 "2021-06-22T07:30:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
