]> Cypherpunks.ru repositories - pygost.git/blob - news.texi
Fix wrap_cryptopro's sbox handling
[pygost.git] / news.texi
1 @node News
2 @unnumbered News
3
4 @table @strong
5
6 @anchor{Release 5.9}
7 @item 5.9
8 Fixed @code{wrap.wrap_cryptopro}, that ignored Sbox for key diversification.
9
10 @anchor{Release 5.8}
11 @item 5.8
12 Added human-readable name of the curve in @code{GOST3410Curve.name}.
13
14 @anchor{Release 5.7}
15 @item 5.7
16 Fixed MGM ignoring of the set tag size.
17
18 @anchor{Release 5.6}
19 @item 5.6
20 Fixed lint errors for previous release.
21
22 @anchor{Release 5.5}
23 @item 5.5
24 More 34.10 curve parameters aliases:
25 @verbatim
26 id-tc26-gost-3410-2012-256-paramSetA -> id-tc26-gost-3410-12-256-paramSetA
27 id-tc26-gost-3410-2012-256-paramSetB -> id-tc26-gost-3410-12-256-paramSetB
28 id-tc26-gost-3410-2012-256-paramSetC -> id-tc26-gost-3410-12-256-paramSetC
29 id-tc26-gost-3410-2012-256-paramSetD -> id-tc26-gost-3410-12-256-paramSetD
30 id-tc26-gost-3410-2012-512-paramSetTest -> id-tc26-gost-3410-12-512-paramSetTest
31 id-tc26-gost-3410-2012-512-paramSetA -> id-tc26-gost-3410-12-512-paramSetA
32 id-tc26-gost-3410-2012-512-paramSetB -> id-tc26-gost-3410-12-512-paramSetB
33 id-tc26-gost-3410-2012-512-paramSetC -> id-tc26-gost-3410-12-512-paramSetC
34 @end verbatim
35
36 @anchor{Release 5.4}
37 @item 5.4
38 @code{gost3410.prv_marshal} helper can make private keys that are
39 in curve's Q field, for better compatibility with some implementations.
40
41 @anchor{Release 5.3}
42 @item 5.3
43     @itemize
44     @item More than 4 times speed increase of @code{gost34112012}.
45     @item @command{asn1schemas/cert-selfsigned-example.py} optionally
46         can issue CA signed child certificate.
47     @end itemize
48
49 @anchor{Release 5.2}
50 @item 5.2
51     @itemize
52     @item @code{GOST3410Curve} has @code{.contains(point)} method for
53         checking if point is on the curve.
54     @item @code{gost3410_vko} functions check if remote peer's public
55         key is on the curve.
56     @item Small typing stubs fixes.
57     @end itemize
58
59 @anchor{Release 5.1}
60 @item 5.1
61 Small typing stubs fixes.
62
63 @anchor{Release 5.0}
64 @item 5.0
65     @itemize
66     @item Backward incompatible removing of misleading and excess
67         @option{mode} keyword argument from all @code{gost3410*} related
68         functions. Point/key sizes are determined by looking at curve's
69         parameters size.
70     @item @command{asn1schemas/cert-selfsigned-example.py} optionally
71         can create CA certificate.
72     @end itemize
73
74 @anchor{Release 4.9}
75 @item 4.9
76     @itemize
77     @item @strong{Fixed} nasty bug with Edwards curves using in
78         34.10-VKO functions: curve's cofactor has not been used
79     @item CTR-ACPKM mode of operation
80     @item OMAC-ACPKM-Master moder of operation
81     @item KExp15/KImp15 key export/import functions
82     @item KDF_GOSTR3411_2012_256, KDF_TREE_GOSTR3411_2012_256
83     @item KEG export key generation function
84     @end itemize
85
86 @anchor{Release 4.8}
87 @item 4.8
88 MGM AEAD mode for 64 and 128 bit ciphers.
89
90 @anchor{Release 4.7}
91 @item 4.7
92 Removed @code{gost28147.addmod} for simplicity.
93
94 @anchor{Release 4.6}
95 @item 4.6
96 Fix invalid @code{gost28147.addmod}'s behaviour with much bigger values
97 than the modulo.
98
99 @anchor{Release 4.5}
100 @item 4.5
101 Fixed digest endianness and more RFC4491bis conformance in
102 @command{asn1schemas/cert-selfsigned-example.py} certificate's.
103
104 @anchor{Release 4.4}
105 @item 4.4
106     @itemize
107     @item @code{id-tc26-gost-3410-2012-512-paramSetTest} curve
108     @item Simple FAQ
109     @item More test vectors for 34.10-2012
110     @item More X.509, PKCS #10 and corresponding ASN.1 helper structures
111     @end itemize
112
113 @anchor{Release 4.3}
114 @item 4.3
115 Dummy release with fixed @code{pygost.__version__}.
116
117 @anchor{Release 4.2}
118 @item 4.2
119     @itemize
120     @item @code{pygost.gost3410.sign} accepts predefined random
121         data used for k/r generation
122     @item More test vectors for 34.10-2012
123     @end itemize
124
125 @anchor{Release 4.1}
126 @item 4.1
127     @itemize
128     @item PEP-396 compatible module's @code{__version__}
129     @item Curve parameters aliases:
130 @verbatim
131 id-GostR3410-2001-CryptoPro-XchA-ParamSet -> id-GostR3410-2001-CryptoPro-A-ParamSet
132 id-GostR3410-2001-CryptoPro-XchB-ParamSet -> id-GostR3410-2001-CryptoPro-C-ParamSet
133 id-tc26-gost-3410-2012-256-paramSetB      -> id-GostR3410-2001-CryptoPro-A-ParamSet
134 id-tc26-gost-3410-2012-256-paramSetC      -> id-GostR3410-2001-CryptoPro-B-ParamSet
135 id-tc26-gost-3410-2012-256-paramSetD      -> id-GostR3410-2001-CryptoPro-C-ParamSet
136 @end verbatim
137     @item Forbid any later GNU GPL version autousage (project's licence
138         now is GNU GPLv3 only)
139     @end itemize
140
141 @anchor{Release 4.0}
142 @item 4.0
143     @itemize
144     @item 34.10-2012 TC26 twisted Edwards curve related parameters
145     @item Coordinates conversion from twisted Edwards to Weierstrass
146         form and vice versa
147     @item More test vectors
148     @item Backward incompatible Sbox and curves parameters renaming,
149         to comply with OIDs identifying them:
150 @verbatim
151 Gost2814789_TestParamSet       -> id-Gost28147-89-TestParamSet
152 Gost28147_CryptoProParamSetA   -> id-Gost28147-89-CryptoPro-A-ParamSet
153 Gost28147_CryptoProParamSetB   -> id-Gost28147-89-CryptoPro-B-ParamSet
154 Gost28147_CryptoProParamSetC   -> id-Gost28147-89-CryptoPro-C-ParamSet
155 Gost28147_CryptoProParamSetD   -> id-Gost28147-89-CryptoPro-D-ParamSet
156 Gost28147_tc26_ParamZ          -> id-tc26-gost-28147-param-Z
157 GostR3411_94_TestParamSet      -> id-GostR3411-94-TestParamSet
158 GostR3411_94_CryptoProParamSet -> id-GostR3411-94-CryptoProParamSet
159
160 GostR3410_2001_TestParamSet            -> id-GostR3410-2001-TestParamSet
161 GostR3410_2001_CryptoPro_A_ParamSet    -> id-GostR3410-2001-CryptoPro-A-ParamSet
162 GostR3410_2001_CryptoPro_B_ParamSet    -> id-GostR3410-2001-CryptoPro-B-ParamSet
163 GostR3410_2001_CryptoPro_C_ParamSet    -> id-GostR3410-2001-CryptoPro-C-ParamSet
164 GostR3410_2001_CryptoPro_XchA_ParamSet -> id-GostR3410-2001-CryptoPro-XchA-ParamSet
165 GostR3410_2001_CryptoPro_XchB_ParamSet -> id-GostR3410-2001-CryptoPro-XchB-ParamSet
166 GostR3410_2012_TC26_256_ParamSetA      -> id-tc26-gost-3410-2012-256-paramSetA
167 GostR3410_2012_TC26_ParamSetA          -> id-tc26-gost-3410-12-512-paramSetA
168 GostR3410_2012_TC26_ParamSetB          -> id-tc26-gost-3410-12-512-paramSetB
169 GostR3410_2012_TC26_ParamSetC          -> id-tc26-gost-3410-2012-512-paramSetC
170 @end verbatim
171     @item Backward incompatible @code{GOST3410Curve} initialization: all
172         parameters are passed not as big-endian encoded binaries, but as
173         integers
174     @item Backward incompatible change: @code{gost3410.CURVE_PARAMS} is
175       disappeared. @code{gost3410.CURVES} dictionary holds already
176       initialized @code{GOST3410Curve}. Just use
177       @code{CURVES["id-tc26-gost-3410-12-512-paramSetA"]} instead of
178       @code{GOST3410Curve(*CURVE_PARAMS["id-tc26-gost-3410-12-512-paramSetA"])}
179     @end itemize
180
181 @anchor{Release 3.15}
182 @item 3.15
183     @itemize
184     @item Licence changed back to GNU GPLv3+. GNU LGPLv3+ licenced
185         versions are not available anymore
186     @item More ASN.1-based test vectors
187         (@url{http://www.pyderasn.cypherpunks.ru/, PyDERASN} dependency required)
188     @end itemize
189
190 @anchor{Release 3.14}
191 @item 3.14
192 Add missing typing stubs related to previous release.
193
194 @anchor{Release 3.13}
195 @item 3.13
196     @itemize
197     @item Ability to explicitly specify used 28147-89 Sbox in
198         @code{pygost.wrap.*} functions
199     @item Ability to use key meshing in 28147-89 CBC mode
200     @end itemize
201
202 @anchor{Release 3.12}
203 @item 3.12
204     @itemize
205     @item Added mode argument to @code{pygost.gost3410_vko.kek_34102012256},
206         because 256-bit private keys can be used with that algorithm too.
207     @item Fix incorrect degree sanitizing in
208         @code{pygost.gost3410.GOST3410Curve.exp} preventing using of
209         @code{UKM=1} in @code{pygost.gost3410_vko.kek_*} functions.
210     @end itemize
211
212 @anchor{Release 3.11}
213 @item 3.11
214 Fixed PEP247 typing stub with invalid hexdigest method.
215
216 @anchor{Release 3.10}
217 @item 3.10
218 Additional missing 34.11-* typing stubs.
219
220 @anchor{Release 3.9}
221 @item 3.9
222 Add missing 34.11-2012 PBKDF2 typing stub.
223
224 @anchor{Release 3.8}
225 @item 3.8
226     @itemize
227     @item 34.11-2012 based PBKDF2 function added
228     @item 34.13-2015 does not require double blocksized IVs
229     @end itemize
230
231 @anchor{Release 3.7}
232 @item 3.7
233 Fixed 34.13-2015 OFB bug with IVs longer than 2 blocks.
234
235 @anchor{Release 3.6}
236 @item 3.6
237 Fixed source files installation during @command{setup.py install} invocation.
238
239 @anchor{Release 3.5}
240 @item 3.5
241 Dummy release: added long description in package metadata.
242
243 @anchor{Release 3.4}
244 @item 3.4
245     @itemize
246     @item Small mypy stubs related fixes
247     @item Licence changed from GNU GPLv3+ to GNU LGPLv3+
248     @end itemize
249
250 @anchor{Release 3.3}
251 @item 3.3
252     @itemize
253     @item @code{GOST3412Kuz} renamed to @code{GOST3412Kuznechik}
254     @item @code{GOST3412Magma} implements GOST R 34.12-2015 Magma 64-bit
255         block cipher
256     @end itemize
257
258 @anchor{Release 3.2}
259 @item 3.2
260 34.13-2015 block cipher modes of operation implementations.
261
262 @anchor{Release 3.1}
263 @item 3.1
264 Fixed mypy stubs related to PEP247-successors.
265
266 @anchor{Release 3.0}
267 @item 3.0
268     @itemize
269     @item @code{gost3411_94} renamed to @code{gost341194}
270     @item @code{gost3411_2012} renamed and split to
271         @code{gost34112012256}, @code{gost34112012512}
272     @item @code{GOST34112012} split to
273         @code{GOST34112012256}, @code{GOST34112012512}
274     @item @code{gost3410.kek} moved to separate
275         @code{gost3410_vko.kek_34102001}
276     @item VKO GOST R 34.10-2012 appeared in @code{gost3410_vko},
277         with test vectors
278     @item 34.11-94 digest is reversed, to be compatible with HMAC and
279         PBKDF2 test vectors describe in TC26 documents
280     @item 34.11-94 PBKDF2 test vectors added
281     @item @code{gost3410.prv_unmarshal},
282         @code{gost3410.pub_marshal},
283         @code{gost3410.pub_unmarshal}
284         helpers added, removing the need of @code{x509} module at all
285     @item @code{gost3410.verify} requires @code{(pubX, pubY)} tuple,
286         instead of two separate @code{pubX}, @code{pubY} arguments
287     @item 34.11-94 based PBKDF2 function added
288     @end itemize
289
290 @anchor{Release 2.4}
291 @item 2.4
292 Fixed 34.13 mypy stub.
293
294 @anchor{Release 2.3}
295 @item 2.3
296 Typo and pylint fixes.
297
298 @item 2.2
299 GOST R 34.13-2015 padding methods.
300
301 @item 2.1
302 Documentation and supplementary files refactoring.
303
304 @item 2.0
305 PEP-0247 compatible hashers and MAC.
306
307 @item 1.0
308     @itemize
309     @item Ability to specify curve in pygost.x509 module
310     @item Ability to use 34.10-2012 in pygost.x509 functions
311     @item Renamed classes and modules:
312 @verbatim
313 pygost.gost3410.SIZE_34100 -> pygost.gost3410.SIZE_3410_2001
314 pygost.gost3410.SIZE_34112 -> pygost.gost3410.SIZE_3410_2012
315 pygost.gost3411_12.GOST341112 -> pygost.gost3411_2012.GOST34112012
316 @end verbatim
317     @end itemize
318
319 @item 0.16
320 34.10-2012 TC26 curve parameters.
321
322 @item 0.15
323 PEP-0484 static typing hints.
324
325 @item 0.14
326 34.10-2012 workability fix.
327
328 @item 0.13
329 Python3 compatibility.
330
331 @item 0.11
332 GOST R 34.12-2015 Кузнечик (Kuznechik) implementation.
333
334 @item 0.10
335 CryptoPro and GOST key wrapping, CryptoPro key meshing.
336
337 @end table