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