Commit graph

11 commits

Author SHA1 Message Date
Sudhi Herle
81a6522ee7 Fixed bug in makeNonceV2(): use the full salt and use block# as prefix
Updated go.mod to use go-1.17
2021-08-28 20:19:24 -07:00
Sudhi Herle
0658fb75d4 Updated libs to build with go1.16.3 2021-06-12 18:15:59 -07:00
Sudhi Herle
fbfcd37679 Removed deprecated functions in curve25519
* Replaced ScalarMult()/ScalarBaseMult() with X25519()
* version# bump
2020-01-09 15:19:17 -08:00
Sudhi Herle
374daebb8d Use size parsing option in pflag 2019-11-15 13:26:11 -08:00
Sudhi Herle
48142c5577 Updated go.mod to use new upstream pflag; it now understands unique
abbreviations of long args.
2019-11-09 13:20:33 -08:00
Sudhi Herle
f82c1336ac sigtool now supports openssh ed25519 public and private keys.
* Added support to read openssh public keys and encrypted private keys
* reworked private key handling
* made password the default; generating keys without password
  requires explicit "--no-password"
2019-11-05 21:42:25 +01:00
Sudhi Herle
a347fdca79 Teach 'sigtool enc' to accept a user defined block size 2019-10-21 13:28:27 -07:00
Sudhi Herle
21445ba1a1 First working version of encrypt/decrypt
* use protobuf for encryption-header
* use fixed size file-header (42 bytes) before the encryption-header
* add encryption/decryption contexts
* teach MakePrivateKey() to fixup its internal public key bits
2019-10-17 14:29:01 -07:00
Sudhi Herle
1cc55e1a55 WIP: added encryption key mgmt
* added encrypt, decrypt commands (empty now)
* use command abbreviation util library
* switched to go1.13 (ed25519 now in stdlib)
* added new code to convert/manage Ed25519 keys to Curve25519
  (thanks to FiloSottile/age)
2019-10-09 14:52:34 -07:00
Sudhi Herle
f0302e3a7d Update to newer upstream packages 2019-08-05 14:02:21 +01:00
Sudhi Herle
40a0c2d829 Teach sigtool to use go modules; updated to use my fork of pflag. 2019-06-20 10:51:33 +05:30