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