This repository won't be updated. I've sold my PS4s. Please feel free to fork it.
Just dumps to USB the sealed key and secret as shown here:
http://www.psdevwiki.com/ps4/Keys#Sealed_Key_Values
Working code based on the wiki code:
http://www.psdevwiki.com/ps4/Sealedkey_/_pfsSKKey
Put the encrypted PFS key you want to decrypt in your first USB drive and name it pfskeyencrypted
This payload spits out a decryptedSaveDataKey.bin file on your USB