App Zip with password?

Discussion in 'Mac Apps and Mac App Store' started by camelia, Jul 17, 2019.

  1. camelia macrumors 6502

    camelia

    Joined:
    Apr 3, 2015
    Location:
    Mexico City
    #1
    Hello,


    Looking for an App preferred for Apple to store to zip with password

    No Winzip
    No WinRAR

    Or can I zip a file with a password protected using terminal?

    Thanks
    Came
     
  2. NoBoMac, Jul 17, 2019
    Last edited: Jul 17, 2019

    NoBoMac Moderator

    NoBoMac

    Staff Member

    Joined:
    Jul 1, 2014
    #3
    What are you ultimately going to do with the file? That might determine what/how to do this.

    If I recall correctly, the encryption used within the zip command is weak. And zip encryption, when available, is not always cross platform friendly.

    But, yes, can encrypt a zip file via command line.

    If already have a zip file, can run following command:
    Code:
    openssl enc -aes-256-cbc -a -in Archive.zip -out Archive.zip.enc
    Can create a zip file with encryption:

    Code:
    zip -e myzip.zip file1 file2 file3 directory1 file4
    And can also use the zipcloak command to encrypt a zip file:

    Code:
    zipcloak myzip.zip
    Personally, I use the 7z format for encryption as it's open source, portable, create/read programs for all platforms. On Mac, I use the Keka program. It's in the App Store, but now costs $2.99 (I got it when still free).

    If just staying on your Mac, can create an encrypted sparse image DMG file (via Disk Utility) and place your files into it.

    But if looking to share the zip with someone else, or put on some different environment, might not be able to read it on other machine.
     
  3. allan.nyholm macrumors 6502a

    allan.nyholm

    Joined:
    Nov 22, 2007
    Location:
    Aalborg, Denmark
    #4
    I kinda get that you prefer an app from the Mac App Store - Keka is free still when downloaded from www.keka.io/en/

    I haven't had issues with it and it creates the passwords for files you wish for.
     

Share This Page

3 July 17, 2019