Git Product home page Git Product logo

Comments (2)

pacoorozco avatar pacoorozco commented on May 31, 2024

Hi @dsem

Unfortunately I don't have a MacOS to test the different configurations shared by you. The only one I can test is the pass one.

I'm not using it but I guess I've found the problem. In order to make pass work with gphotos-uploader-cli some extra configuration is needed: PassDir, PassCmd and PassPrefix but the CLI is not allowing to set these parameters :-(

We should modify the config schema to allow (and check) the proper configuration of the pass elements.

from gphotos-uploader-cli.

pacoorozco avatar pacoorozco commented on May 31, 2024

Hi again,

I've seen that the pass option is not expected to be a valid one, that's why the CLI is providing the proper error:

invalid configuration at '/Users/<redacted>/.config/gphotos-uploader-cli/config.hjson': option SecretsBackendType is invalid, 'pass'

The documentation is pointed to invalid options:

Available options for secrets backend are:

"auto"              For auto backend selection
"secret-service"    For gnome-keyring support
"keychain"          For OS X keychain support
"kwallet"           For KDE Secrets Manager support
"wincred"           For Windows credentials support
"file"              For encrypted file support - needs interaction to supply a symetric encryption key
"pass"              For Password Store support - needs user interaction to supply a GPG pass key

This is clearly incorrect because the code is only implementing: auto, secret-service, keychain, kwallet and file. Fixed here: #348

from gphotos-uploader-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.