kgpg and key dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I upgraded to stretch and testing 14.1 (DEV)
Unfortunately when trying to send a gpg signed message today I realized that
gpg is not working properly. I started from command line and saw message
gpg2 migration successfull. I also see a file .gpg-v21-migrated

When I start kgpg from command line it shows many line with invalid date.
Gpg however lists all keys with properly displayed date. Kgpg does not
display date or name assigned to key.
I managed to find out that the date in the key is a unix timestamp, but in
kgpg we have TQDate fromString with QT:ISODate, which forces fromString to
split the string instead using it as unix time stamp.

I did following to fix it

        if (ret.gpgkeyexpiration.isEmpty())
                ret.gpgkeyexpiration=i18n("Unlimited");
        else {
                TQDate date = TQDate::fromString(ret.gpgkeyexpiration,
Qt::ISODate);
                if (!date.isValid()) {
                        TQDateTime timestamp;
                        timestamp.setTime_t(ret.gpgkeycreation.toInt());
                        date = timestamp.date();
                }

However I need to look into why the names are not shown properly. Perhaps
we'll get a patch

Can you confirm this?

I created a Bug 2791

regards



---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux