Coder Social home page Coder Social logo

Comments (6)

micahflee avatar micahflee commented on May 29, 2024

👍

from gpgsync.

micahflee avatar micahflee commented on May 29, 2024

This feature should probably also include an option to disable it. It looks like GPGTools doesn't yet support this, but they might add it, and people probably wouldn't want two different PGP-related programs both notifying them: https://gpgtools.lighthouseapp.com/projects/65684-gpg-keychain-access/tickets/59-key-expired-notifier

Also, should PGP Sync warn you about secret keys that are already expired? And what if you want to allow a key to expire? The warning that pops up telling you that a secret key you control is about to expire should probably have a "Ignore expiration warnings about this key" button, while still giving you warnings for other keys.

And another thing to think about is how to actually update the expiration date of the key. PGP Sync could try to update it for you, but then we'd need to build a full GUI for that. Or it could tell you to use other software (such as GPG Keychain Access) to update it. I think I prefer the latter.

from gpgsync.

samuelcouch avatar samuelcouch commented on May 29, 2024

Also, should PGP Sync warn you about secret keys that are already expired? And what if you want to allow a key to expire? The warning that pops up telling you that a secret key you control is about to expire should probably have a "Ignore expiration warnings about this key" button, while still giving you warnings for other keys.

Maybe we could have a Check for secret keys button that then populates a list of keys with a checkbox-to-enable-notification next to each?

PGP Sync could try to update it for you, but then we'd need to build a full GUI for that. Or it could tell you to use other software (such as GPG Keychain Access) to update it. I think I prefer the latter.

I prefer the latter as well.

from gpgsync.

micahflee avatar micahflee commented on May 29, 2024

Maybe we could have a Check for secret keys button that then populates a list of keys with a checkbox-to-enable-notification next to each?

I think the simplest UX would be to just automatically prompt users to update their expiring keys and include an "ignore this key" button in the prompts. The settings object could contain a list of fingerprints to ignore. And when you open the soon-to-exist options dialog (#23), it can list all of your secret keys and let you manually check boxes next to the ones you want to ignore. This way the default behavior would be to always prompt users, but they'd have an easy way to disable/enable it.

Also, we should make sure not to prompt users more than once a day about expiring keys. I can see not having time to deal with it today, and appreciating another prompt tomorrow though.

from gpgsync.

samuelcouch avatar samuelcouch commented on May 29, 2024

Leaving this here as a reference for finding when your key(s) expire
gpg -K | grep "\[expires:" | cut -d ":" -f 2 | cut -d " " -f 2 | cut -d "]" -f 1

from gpgsync.

micahflee avatar micahflee commented on May 29, 2024

GPG Tools now alerts on expiring keys, so I don't think this feature is necessary anymore for GPG Sync.

from gpgsync.

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.