()
| 697 | } |
| 698 | |
| 699 | func invalidSignature() *object.Signature { |
| 700 | when, _ := time.Parse(object.DateFormat, "Thu May 04 00:03:43 2017 +0200") |
| 701 | return &object.Signature{ |
| 702 | Name: "foo <bad>\n", |
| 703 | Email: "<bad>\nfoo@foo.foo", |
| 704 | When: when, |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | func commitSignKey(c *C, decrypt bool) *openpgp.Entity { |
| 709 | s := strings.NewReader(armoredKeyRing) |
no test coverage detected
searching dependent graphs…