GithubHelp home page GithubHelp logo

Error related to GnuPG about mackup HOT 7 CLOSED

lra avatar lra commented on July 17, 2024
Error related to GnuPG

from mackup.

Comments (7)

aapit avatar aapit commented on July 17, 2024

Any news on this? I installed Mackup a couple of days ago (through Homebrew) and this same error occurs. Already fixed some of the permissions (some files were owned by root), but haven't been able to do a complete backup yet. I have v0.5.4.

from mackup.

lra avatar lra commented on July 17, 2024

No news here, more detail on how to best fix it would help.
It seems the problem is that mackup is trying to sync the whole .gnupg folder and there are sockets in it, which mackup does not know what to do with.

Can you come up with an explicit list of which files mackup should sync in the .gnupg folder ?

from mackup.

aapit avatar aapit commented on July 17, 2024

I've tried removing ACL on the whole folder (chmod -RN), and chown'ing it to my own user. To no avail.

For now, I've worked around it by putting this in my ~/.mackup.cfg:

[Ignored Applications]
GNUPG

Also, Mackup tries to copy my private key files to Dropbox, unencrypted. As this is potentially incredibly sensitive data, I'm not so sure I want to store everything in Dropbox just like that.

from mackup.

aapit avatar aapit commented on July 17, 2024

I think these files could be synced: gpg-agent.conf, gpg.conf. Perhaps also secring.gpg, trustdb.gpg, pubring.gpg, pubring.gpg~
Which leaves ignored: S.gpg-agent, private-keys-v1.d, random_seed

It's just a guestimate on what I have in my folder, combined with my personal preference of not storing private keys in Dropbox unencrypted. But I think ignoring the socket file (S.gpg-agent) would solve most of the problems.

from mackup.

lra avatar lra commented on July 17, 2024

Thanks, the problem is happening a lot as a bunch of new users are using mackup.

I followed your advices and selectively sync this:

    'GnuPG': ['.gnupg/gpg-agent.conf',
              '.gnupg/gpg.conf',
              '.gnupg/secring.gpg',
              '.gnupg/trustdb.gpg',
              '.gnupg/pubring.gpg'],

The gnupg doc is great at explaining what should be kept http://www.gnupg.org/documentation/manuals/gnupg-devel/GPG-Configuration.html

from mackup.

lra avatar lra commented on July 17, 2024

I'll release a new version now

from mackup.

aapit avatar aapit commented on July 17, 2024

Great work, thanks!

from mackup.

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.