Just to check, you have confirmed the contents of "subkey->timestamp", being passed to localtime() is 1402331216?
Checked it.
There is a warning issued for that line: passing argument 1 of 'localtime' from incompatible pointer type Maybe the compiler has a wrong idea about the length of the timestamp? I added a line for clarification to the code (crypt-gpgme.c:2084 with the latest release 1.5.24): time_t t = subkey->timestamp; strftime(date, sizeof(date), "%Y-%m-%d", localtime(&t)); The segfault is gone now. gpgme.h states 'long int timestamp' and localtime expects (time_t *). I have not looked it up, but I think time_t is long long int at my platform. Guess, that's it.
