In the "Advanced Install" section of the page:
http://docs.particle.io/photon/cli/#upgrading-from-the-spark-cli-advanced-install
It says:
To use the local flash and key features you'll also need to install dfu-util, and openssl.
And the 'dfu-util' is linked to a page on sourceforge. However, that link no longer works.