summaryrefslogtreecommitdiff
path: root/widgets/pgpinfo.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-03-03 21:49:29 -0500
committerDrew DeVault <sir@cmpwn.com>2020-03-03 21:49:29 -0500
commitaec5dd170e27dcf0b493301533d6869de14b7eae (patch)
tree333f743356b94dabafc7be761568ca277d1fc3ae /widgets/pgpinfo.go
parentf79813ada358249cbd6451752809d39b01f12f7a (diff)
downloadaerc-aec5dd170e27dcf0b493301533d6869de14b7eae.zip
Yet another revision to PGP UI
I think this will be the one.
Diffstat (limited to 'widgets/pgpinfo.go')
-rw-r--r--widgets/pgpinfo.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/pgpinfo.go b/widgets/pgpinfo.go
index 292f1d1..dc03cf6 100644
--- a/widgets/pgpinfo.go
+++ b/widgets/pgpinfo.go
@@ -46,9 +46,9 @@ func (p *PGPInfo) DrawSignature(ctx *ui.Context) {
for _, ident = range entity.Identities {
break
}
- x := ctx.Printf(0, 0, validStyle, "✓ ")
+ x := ctx.Printf(0, 0, validStyle, "✓ Authentic ")
x += ctx.Printf(x, 0, tcell.StyleDefault,
- "Authentic signature from %s (%8X)",
+ "Signature from %s (%8X)",
ident.Name, p.details.SignedByKeyId)
}
}
@@ -62,9 +62,9 @@ func (p *PGPInfo) DrawEncryption(ctx *ui.Context, y int) {
break
}
- x := ctx.Printf(0, y, validStyle, "✓ ")
+ x := ctx.Printf(0, y, validStyle, "✓ Encrypted ")
x += ctx.Printf(x, y, tcell.StyleDefault,
- "Encrypted for %s (%8X) ", ident.Name, p.details.DecryptedWith.PublicKey.KeyId)
+ "To %s (%8X) ", ident.Name, p.details.DecryptedWith.PublicKey.KeyId)
}
func (p *PGPInfo) Draw(ctx *ui.Context) {