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