opgpcard: move creation time up in text output for 'status', and adjust printed field name

This commit is contained in:
Heiko Schaefer 2022-10-31 15:32:15 +01:00
parent 3a9d40454f
commit ae25e6b608
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -310,12 +310,12 @@ impl KeySlotInfo {
if let Some(fp) = &self.fingerprint { if let Some(fp) = &self.fingerprint {
lines.push(format!("Fingerprint: {}", fp)); lines.push(format!("Fingerprint: {}", fp));
} }
if let Some(ts) = &self.creation_time {
lines.push(format!("Creation Time: {}", ts));
}
if let Some(a) = &self.algorithm { if let Some(a) = &self.algorithm {
lines.push(format!("Algorithm: {}", a)); lines.push(format!("Algorithm: {}", a));
} }
if let Some(ts) = &self.creation_time {
lines.push(format!("Created: {}", ts));
}
if verbose { if verbose {
if let Some(policy) = &self.touch_policy { if let Some(policy) = &self.touch_policy {