Commit graph

13 commits

Author SHA1 Message Date
Daniel Huigens
536a499f94 Rename go-pm-mime to go-mime 2019-05-14 18:09:06 +02:00
Aron Wussler
78e3abb0d8 go vet and lint
* Naming
    * If this is not some OpenPGP standard I follow rule that `DES` should be
      upper case as it is abreviation and `Triple` should be camel-case as it
      is normal word hence `TripleDES`
    * rename `errors2` -> `errorsPGP`
* long lines
    * https://github.com/golang/go/wiki/CodeReviewComments#line-length
    * I bit improved long lines based on my folding
    * reuse type in definition if possible i.e. `a string, b string, c string` -> `a,b,c string`
    * `if long_statetent(); err!=nil {` -> `long_statement;↵ if err!=nil {`
    * spaces around operators (e.g. `a + b` -> `a+b`)
* removing empty lines on start and end of scope
* comments
    * on all exported functions
    * start with function name
* import:
    * order in alphabet
    * separate native, golang.org/x/ and our libs
2019-05-14 14:42:38 +00:00
Aron Wussler
fd27ec08fb Fix existing tests, move large constants to files 2019-05-09 18:19:14 +02:00
Jakub
21fe53fd5d update glide and add ci 2019-05-01 16:35:49 +02:00
Jakub
35a4e32efb fix mime 2019-03-07 16:02:53 +01:00
Jakub
6cadeb5b28 update crypto and mime 2019-03-07 14:46:09 +01:00
Jakub
09d519e51e force memory release in golang/crypto 2019-01-07 13:51:48 +01:00
Jakub Lehotsky
0bf075d49d Minor build fixes 2018-11-01 17:03:43 +01:00
Kay Lukas
97e70855b8 Add decryptMime and refactor package structure 2018-09-11 11:09:28 +02:00
Kay Lukas
dccb3ba50b Implement first version of signature collector 2018-09-04 20:27:29 +02:00
Kay Lukas
2d45c99a89 WIP: parse mime 2018-09-02 15:02:26 +02:00
zhj4478
0571cd9aa7 domain is optional when generate new key 2018-06-05 11:40:42 -07:00
zhj4478
8d300e4782 wrapper for mobile 2018-06-04 16:05:14 -07:00