Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

50%
+1 −1
Q&A Create encrypted zip archive with bsdtar [closed]

I'm trying to create an encrypted¹ zip archive using bsdtar. Here's where I got stuck: bsdtar -c --options='zip:encryption' --passphrase "secret" -f test.zip test This is the error I get: bs...

0 answers  ·  posted 3y ago by Matthias Braun‭  ·  closed 3y ago by Lundin‭

Question zip bsdtar
#5: Question closed by user avatar Lundin‭ · 2020-10-31T08:19:59Z (over 3 years ago)
#4: Question reopened by user avatar Alexei‭ · 2020-10-31T06:35:30Z (over 3 years ago)
#3: Post edited by user avatar Matthias Braun‭ · 2020-10-30T22:08:38Z (over 3 years ago)
Remove typo
  • I'm trying to create an encrypted¹ zip archive using [bsdtar](https://www.mankier.com/1/bsdtar). Here's where I got stuck:
  • bsdtar -c --options='zip:encryption' --passphrase "secret" -f test.zip test
  • This is the error I get:
  • >bsdtar: Unknown module name: `zip'
  • How do I get around this error to create an encrypted zip archive?
  • I'm on Arch Linux 5.8.14 using bsdtar bsdtar 3.4.3.
  • ---
  • <sub>
  • ¹I know that password-protected zip files aren't very secure: https://security.stackexchange.com/questions/35818/are-password-protected-zip-files-secure
  • </sub>
  • I'm trying to create an encrypted¹ zip archive using [bsdtar](https://www.mankier.com/1/bsdtar). Here's where I got stuck:
  • bsdtar -c --options='zip:encryption' --passphrase "secret" -f test.zip test
  • This is the error I get:
  • >bsdtar: Unknown module name: `zip'
  • How do I get around this error to create an encrypted zip archive?
  • I'm on Arch Linux 5.8.14 using bsdtar 3.4.3.
  • ---
  • <sub>
  • ¹I know that password-protected zip files aren't very secure: https://security.stackexchange.com/questions/35818/are-password-protected-zip-files-secure
  • </sub>
#2: Question closed by user avatar Alexei‭ · 2020-10-30T19:39:00Z (over 3 years ago)
#1: Initial revision by user avatar Matthias Braun‭ · 2020-10-30T18:28:45Z (over 3 years ago)
Create encrypted zip archive with bsdtar
I'm trying to create an encrypted¹ zip archive using [bsdtar](https://www.mankier.com/1/bsdtar). Here's where I got stuck:

    bsdtar -c --options='zip:encryption' --passphrase "secret" -f test.zip test


This is the error I get:

>bsdtar: Unknown module name: `zip'

How do I get around this error to create an encrypted zip archive?

I'm on Arch Linux 5.8.14 using bsdtar bsdtar 3.4.3.

---
<sub>
¹I know that password-protected zip files aren't very secure: https://security.stackexchange.com/questions/35818/are-password-protected-zip-files-secure
</sub>