Skip to content

Releases: google/certtostore

CertToStore v1.0.3

11 Aug 14:34
Compare
Choose a tag to compare

What's Changed

  • Update go.mod and add go.sum by @copybara-service in #45
  • Add tests for getPropertyStr by @copybara-service in #44
  • Use bytes.ReplaceAll instead of strings.Replace for getPropertyStr. by @copybara-service in #46
  • Update certtostore tests to Go 1.18. by @copybara-service in #43
  • Specify full path on icacls due to golang/go#53536 by @copybara-service in #48
  • Small fix to previous error checking by @copybara-service in #49
  • Define a certtostore interface for certtostore_windows to enable testing by @copybara-service in #54
  • Migrate certtostore logging from github.com/google/logger to github.com/google/deck. by @copybara-service in #58
  • Implement OpenWinCertStoreCurrentUser constructor by @n-canter in #57
  • Bump golang.org/x/crypto from 0.0.0-20210220033148-5ea612d1eb83 to 0.1.0 by @dependabot in #60
  • Respect currentUser/localMachine flags in certificate operations by @n-canter in #61
  • Export removeCert, add StoreWithDisposition by @n-canter in #62

New Contributors

Full Changelog: v1.0.2...v1.0.3

CertToStore v1.0.2

09 Nov 18:30
Compare
Choose a tag to compare

CertToStore v1.0.2 makes some changes to certificate store file handles on Windows. These changes are aimed at preventing possible leakage of file handles in some situations. Users will need to ensure they call the Close() functions to release handles to the store after use.

What's Changed

  • Use CertWithContext() for Cert() by @copybara-service in #41
  • Refactor cert store handling. by @copybara-service in #42

Full Changelog: v1.0.1...v1.0.2

CertToStore v1.0.1

03 Nov 16:27
Compare
Choose a tag to compare

CertToStore 1.0.1 improves ECDSA support, Windows context handling and support for working with multiple Windows crypto providers, among other bug fixes and improvements.

What's Changed

  • Encode private key using PKCS #8 instead of PKCS #1 by @copybara-service in #25
  • Drop ncryptAllowDecryptFlag when generating ECDSA keys. by @copybara-service in #29
  • Associate BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC with the P256 curve (the only EC key type we generate now). by @copybara-service in #31
  • Add (Key).TransientTpmHandle() by @copybara-service in #30
  • If an incorrect magic value is returned while generating an ECDSA key, try to derive the curve from the NCRYPT_ECC_CURVE_NAME_PROPERTY property instead of assuming P256. by @copybara-service in #32
  • Enable ECDSA_P384 and ECDSA_P521 generation. by @copybara-service in #33
  • Implement NCryptFreeObject which is supposed to be used when finished with an open storage provider. by @copybara-service in #36
  • Modify keyMetadata for provider detection. by @copybara-service in #37
  • Add FreeCertContext by @copybara-service in #38

Full Changelog: 1.0.0...v1.0.1

1.0.0

24 Feb 17:31
Compare
Choose a tag to compare

Initial release.