Skip to content

Document MacPorts Installation #583

@harens

Description

@harens

Hi there 👋

I originally came here to write a Homebrew formula for Ciphey #197. Half a year later, and I'm proud to announce that Ciphey has now instead been added to MacPorts!

TL;DR: To (hopefully) solve your macOS installation issues, run the following:

sudo port install ciphey

The project page can be found here.

Issues fixed

Why not use PyPi?

As is mentioned in the wiki, pip install ciphey just doesn't work on macOS.

Again, this boils down to cipheycore, but I'll go through that in a different issue on cipheycore.

Why not use Docker?

This is much better (it actually works on my machine!). However, there are still some problems:

EDIT: Just to give you some very basic benchmarking:

# Docker
> hyperfine --warmup 3 'docker run --rm remnux/ciphey --help'
Benchmark #1: docker run --rm remnux/ciphey --help
  Time (mean ± σ):      1.337 s ±  0.041 s    [User: 171.5 ms, System: 77.7 ms]
  Range (min … max):    1.266 s …  1.389 s    10 runs
# MacPorts
> hyperfine --warmup 3 'ciphey --help'
Benchmark #1: ciphey --help
  Time (mean ± σ):     325.4 ms ±   4.3 ms    [User: 260.7 ms, System: 56.6 ms]
  Range (min … max):   318.9 ms … 331.5 ms    10 runs

Just to run the --help flag, there is a massive difference in time taken (~1.3s vs ~325ms).

Why did you choose MacPorts over Homebrew?


If you find any issues with this, please let me know and provide any relevant details. Preferably, it would be as a Trac ticket, but pinging me on GitHub is also fine.

As I said before, I'll post an issue on cipheycore detailing the measures I took to hopefully prevent any issues. If you have any questions, please feel free to ask. Thanks, Haren.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions