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