From aec5dd170e27dcf0b493301533d6869de14b7eae Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 3 Mar 2020 21:49:29 -0500 Subject: [PATCH] Yet another revision to PGP UI I think this will be the one. --- widgets/pgpinfo.go | 8 ++++---- 1 file 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) {