Score:0

Is it possible to be notified when a connected online account certificate expires?

ng flag

I have a Google account connected to my Ubuntu account for various purposes. I recently noticed that my Gnome calendar was not in sync, which it turned out had happened because my Google certificate had expired. This comment claims that these expire yearly, with varying periods for other account types, so reentering credentials is a periodic task for most online account types.

It's surprising that I was left to discover this manually and not notified in some obvious and persistent way, e.g. the way I might be informed of available software updates. Is there a way to enable such a notification, ideally from the command line so I can put it in my install script? If not, is there perhaps a way to query certificate expiry and e.g. invoke notify-send in a login script?

If it makes a difference, I'm on 22.04.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.