* epg.el (epg--status-VALIDSIG): Don't set expiration-time if it
        is "0".
+       (epg--make-sub-key-1): Ditto.
 
        * pgg-epg.el (pgg-epg-encrypt-region): Ask a user whether to skip a
        recipient whose public key is not available.
 
    (string-to-number (aref line 2))
    (aref line 4)
    (epg--time-from-seconds (aref line 5))
-   (epg--time-from-seconds (aref line 6))))
+   (unless (equal (aref line 6) "0")
+     (epg--time-from-seconds (aref line 6)))))
 
 ;;;###autoload
 (defun epg-list-keys (context &optional name mode)