I’m trying to init the storage and get duplicacy to use the keychain to store and retrieve credentials.
- init:
% rm -rf .duplicacy/preferences % ~/Downloads/duplicacy_osx_x64_3.2.0 -d init test storj://12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us1.storj.io:7777/duplicacy/duplicacy Reading the environment variable DUPLICACY_STORJ_KEY Enter the API access key: [snip] Reading the environment variable DUPLICACY_STORJ_PASSPHRASE Enter the passphrase: [snip] Chunk read levels: [1], write level: 1 The storage 'storj://12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us1.storj.io:7777/duplicacy/duplicacy' has already been initialized Compression level: 100 Average chunk size: 4194304 Maximum chunk size: 16777216 Minimum chunk size: 1048576 Chunk seed: 6475706c6963616379 Hash key: 6475706c6963616379 ID key: 6475706c6963616379 /Users/[snip]/Downloads/new-storj will be backed up to storj://12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us1.storj.io:7777/duplicacy/duplicacy with id test
- Check right away:
% ~/Downloads/duplicacy_osx_x64_3.2.0 -d list Storage set to storj://12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S@us1.storj.io:7777/duplicacy/duplicacy Reading the environment variable DUPLICACY_STORJ_KEY Failed to get the value from the keyring: keyring: Password not found Enter the API access key:
- Looking at the keychain, there is a new entry at the right date, but data is missing:
% security find-generic-password -a storj_key keychain: "/Users/[snip]/Library/Keychains/login.keychain-db" version: 512 class: "genp" attributes: 0x00000007 <blob>="duplicacy" 0x00000008 <blob>=<NULL> "acct"<blob>="storj_key" "cdat"<timedate>=0x32303233313030313034343830395A00 "20231001044809Z\000" "crtr"<uint32>=<NULL> "cusi"<sint32>=<NULL> "desc"<blob>=<NULL> "gena"<blob>=<NULL> "icmt"<blob>=<NULL> "invi"<sint32>=<NULL> "mdat"<timedate>=0x32303233313030313034353131365A00 "20231001045116Z\000" "nega"<sint32>=<NULL> "prot"<blob>=<NULL> "scrp"<sint32>=<NULL> "svce"<blob>="duplicacy" "type"<uint32>=<NULL>
- Duplicacy executable is from the GitHub:
% codesign -vvv ~/Downloads/duplicacy_osx_x64_3.2.0 /Users/[snip]/Downloads/duplicacy_osx_x64_3.2.0: valid on disk /Users/[snip]/Downloads/duplicacy_osx_x64_3.2.0: satisfies its Designated Requirement
- I’m using released current version of macOS:
% sw_vers ProductName: macOS ProductVersion: 14.0 BuildVersion: 23A344