summaryrefslogtreecommitdiffstats
path: root/vendor/pkcs8/CHANGELOG.md
blob: 1f754d527bebc8afbf88f822253975193c5df845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.10.2 (2023-04-04)
### Changed
- Bump `spki` to v0.7.1 ([#981])

[#981]: https://github.com/RustCrypto/formats/pull/981

## 0.10.1 (2023-03-05)
### Added
- `sha1-insecure` feature ([#913])

[#913]: https://github.com/RustCrypto/formats/pull/913

## 0.10.0 (2023-02-26) [YANKED]
### Changed
- Use blanket impls for `Decode*` traits ([#785])
- Bump `der` dependency to v0.7 ([#899])
- Bump `spki` dependency to v0.7 ([#900])
- Bump `pkcs5` dependency to v0.7 ([#901])

[#785]: https://github.com/RustCrypto/formats/pull/785
[#899]: https://github.com/RustCrypto/formats/pull/899
[#900]: https://github.com/RustCrypto/formats/pull/900
[#901]: https://github.com/RustCrypto/formats/pull/901

## 0.9.0 (2022-05-08)
### Added
- Error conversion support to `pkcs8::spki::Error` ([#335])
- Re-export `AssociatedOid` ([#645])

### Changed
- Use `finish_non_exhaustive` in `Debug` impls ([#245])
- Replace `PrivateKeyDocument` with `der::SecretDocument` ([#571])
- Bump `der` to v0.6 ([#653])
- Bump `spki` to v0.6 ([#654])
- Bump `pkcs5` to v0.5 ([#655])

### Removed
- `PrivateKeyDocument` ([#571])

[#245]: https://github.com/RustCrypto/formats/pull/245
[#335]: https://github.com/RustCrypto/formats/pull/335
[#571]: https://github.com/RustCrypto/formats/pull/571
[#645]: https://github.com/RustCrypto/formats/pull/645
[#653]: https://github.com/RustCrypto/formats/pull/653
[#654]: https://github.com/RustCrypto/formats/pull/654
[#655]: https://github.com/RustCrypto/formats/pull/655

## 0.8.0 (2021-11-16)
### Added
- Re-export `spki` crate ([#210])

### Changed
- Replace usages of `expect` with fallible methods ([#108])
- Impl `From*Key`/`To*Key` traits on `Document` types ([#110])
- Rename `From/ToPrivateKey` => `DecodePrivateKey`/`EncodePrivateKey` ([#121])
- Rust 2021 edition upgrade; MSRV 1.56 ([#136])
- Use `der::Document` to impl `*PrivateKeyDocument` ([#140])
- Rename `Error::Crypto` => `Error::EncryptedPrivateKey` ([#213], [#214])
- Bump `der` dependency to v0.5 ([#222])
- Bump `spki` dependency to v0.5 ([#223])
- Bump `pkcs5` dependency to v0.4 ([#224])
- Replace `from_pkcs8_private_key_info` with `TryFrom` ([#230])

### Removed
- `*_with_le` PEM encoding methods ([#109])
- PKCS#1 support; moved to `pkcs1` crate ([#124])
- I/O related errors from key format crates ([#158])
- `der::pem` export ([#211])

[#108]: https://github.com/RustCrypto/formats/pull/108
[#109]: https://github.com/RustCrypto/formats/pull/109
[#110]: https://github.com/RustCrypto/formats/pull/110
[#121]: https://github.com/RustCrypto/formats/pull/121
[#124]: https://github.com/RustCrypto/formats/pull/124
[#136]: https://github.com/RustCrypto/formats/pull/136
[#140]: https://github.com/RustCrypto/formats/pull/140
[#158]: https://github.com/RustCrypto/formats/pull/158
[#210]: https://github.com/RustCrypto/formats/pull/210
[#211]: https://github.com/RustCrypto/formats/pull/211
[#213]: https://github.com/RustCrypto/formats/pull/213
[#214]: https://github.com/RustCrypto/formats/pull/214
[#222]: https://github.com/RustCrypto/formats/pull/222
[#223]: https://github.com/RustCrypto/formats/pull/223
[#224]: https://github.com/RustCrypto/formats/pull/224
[#230]: https://github.com/RustCrypto/formats/pull/230

## 0.7.6 (2021-09-14)
### Added
- `3des` and `des-insecure` features
- `sha1` feature
- Support for AES-192-CBC

### Changed
- Moved to `formats` repo ([#2])

[#2]: https://github.com/RustCrypto/formats/pull/2

## 0.7.5 (2021-07-26)
### Added
- Support for customizing PEM `LineEnding`

### Changed
- Bump `pem-rfc7468` dependency to v0.2

## 0.7.4 (2021-07-25)
### Added
- PKCS#1 support

## 0.7.3 (2021-07-24)
### Changed
- Use `pem-rfc7468` crate

## 0.7.2 (2021-07-20)
### Added
- `Error::ParametersMalformed` variant

## 0.7.1 (2021-07-20)
### Added
- `Error::KeyMalformed` variant

## 0.7.0 (2021-06-07)
### Added
- ASN.1 error improvements

### Changed
- Merge `OneAsymmetricKey` into `PrivateKeyInfo`
- Use scrypt as the default PBES2 KDF
- Return `Result`(s) when encoding 
- Bump `der` to v0.4
- Bump `spki` to v0.4
- Bump `pkcs5` to v0.3

## 0.6.1 (2021-05-24)
### Added
- Support for RFC5958's `OneAsymmetricKey`

### Changed
- Bump `der` to v0.3.5

## 0.6.0 (2021-03-22)
### Changed
- Bump `der` dependency to v0.3
- Bump `spki` dependency to v0.3
- Bump `pkcs5` dependency to v0.2

## 0.5.5 (2021-03-17)
### Changed
- Bump `base64ct` dependency to v1.0

## 0.5.4 (2021-02-24)
### Added
- Encryption helper methods for `FromPrivateKey`/`ToPrivateKey`

## 0.5.3 (2021-02-23)
### Added
- Support for decrypting/encrypting `EncryptedPrivateKeyInfo`
- PEM support for `EncryptedPrivateKeyInfo`
- `Error::Crypto` variant

## 0.5.2 (2021-02-20)
### Changed
- Use `pkcs5` crate

## 0.5.1 (2021-02-18) [YANKED]
### Added
- `pkcs5` feature

### Changed
- Bump `spki` dependency to v0.2.0

## 0.5.0 (2021-02-16) [YANKED]
### Added
- Initial `EncryptedPrivateKeyInfo` support

### Changed
- Extract SPKI-related types into the `spki` crate

## 0.4.1 (2021-02-01)
### Changed
- Bump `basec4ct` dependency to v0.2

## 0.4.0 (2021-01-26)
### Changed
- Bump `der` crate dependency to v0.2
- Use `base64ct` v0.1 for PEM encoding

## 0.3.3 (2020-12-21)
### Changed
- Use `der` crate for decoding/encoding ASN.1 DER

## 0.3.2 (2020-12-16)
### Added
- `AlgorithmIdentifier::parameters_oid` method

## 0.3.1 (2020-12-16)
### Changed
- Bump `const-oid` dependency to v0.4

## 0.3.0 (2020-12-16) [YANKED]
### Added
- `AlgorithmParameters` enum

## 0.2.2 (2020-12-14)
### Fixed
- Decoding/encoding support for Ed25519 keys

## 0.2.1 (2020-12-14)
### Added
- rustdoc improvements

## 0.2.0 (2020-12-14)
### Added
- File writing methods for public/private keys
- Methods for loading `*Document` types from files
- DER encoding support
- PEM encoding support
- `ToPrivateKey`/`ToPublicKey` traits

### Changed
- `Error` enum
- Rename `load_*_file` methods to `read_*_file`

## 0.1.1 (2020-12-06)
### Added
- Helper methods to load keys from the local filesystem

## 0.1.0 (2020-12-05)
- Initial release