annotate docker/backend-dev-e2e/certificates/minica-key.pem @ 4212:5f2d496c633f

core: get rid of `pickle`: Use of `pickle` to serialise data was a technical legacy that was causing trouble to store in database, to update (if a class was serialised, a change could break update), and to security (pickle can lead to code execution). This patch remove all use of Pickle in favour in JSON, notably: - for caching data, a Pydantic model is now used instead - for SQLAlchemy model, the LegacyPickle is replaced by JSON serialisation - in XEP-0373 a class `PublicKeyMetadata` was serialised. New method `from_dict` and `to_dict` method have been implemented to do serialisation. - new methods to (de)serialise data can now be specified with Identity data types. It is notably used to (de)serialise `path` of avatars. A migration script has been created to convert data (for upgrade or downgrade), with special care for XEP-0373 case. Depending of size of database, this migration script can be long to run. rel 443
author Goffi <goffi@goffi.org>
date Fri, 23 Feb 2024 13:31:04 +0100
parents 3b64b503f250
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3381
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 -----BEGIN RSA PRIVATE KEY-----
4187
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
2 MIIEpAIBAAKCAQEArRHT23uuwMTJ5UExxkYvKGHufhIt6mbxOVf2D2Ps7ogk5WYI
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
3 45T1yPU2YNCHOZJRfMTSJSwVkN5/VZsrhFlbhvqCsDm1xNqRD7B3sYcm5c1nJj7v
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
4 0MBf+TLnVtoeLtqQALfjGJ9R/m/gimCZAQvUJujaD1JMhPmEN3RlI5Pw1gHBs66P
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
5 zNUZS9ttoXQUR9EugZhwn0cXB2YhPAsjLAFdCLni6b63txd02mT1adGA8VapLIJ+
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
6 2t1957wTUhdsAlCTEnha7+TqIUDJq4nRUeeiaTzr6ICL6Gkfc20moo7GA6Ibg66Q
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
7 F/GGR2VJCtNOubbuacuDwdUA+isx7G9glzj5zwIDAQABAoIBABZX/98NN8GBZoNn
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
8 iFKNyxbOlejG1hC2G5yIo6bXAsbE4uaO5sTi/VxldBDJuzuOjWCrVGoiJ+KdJxlZ
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
9 QCQFGVDy1J6FxNbWVPYOlVVhGn9+pjuE0pdDzuAwVzeaT11DMGY3V2VdZEuSDA4x
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
10 bG97JHelhkmGGYTtZcl3CHuwZN5sAz7/wow403KPtLkuT/EEwnVagW/Pt3cd9Qh4
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
11 3UmytJVcIAR5LYjQFdzIhdbpHS53S+BVg1DYQecm4B9PnEWRXr4uRXQ4f3UuXpBv
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
12 h68EUMc9P4dBYLk6ldKU7kz00dGNNUvzQmuMKKrnSJ2kviyxPExFTWKrWEcYqxco
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
13 H2lHN1ECgYEA2r844L2HZEiEW7Jw3l7It0sZqQ8+DiOa1LCrY6VlDbyfydRDpJa7
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
14 pZakwl3tbnXKbeYXACFufCG2tv3QOAhEP8ZtDDW7osE6hmBjY6PfwZ60WBYJNn+Y
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
15 6mhDcpCZu3UJykN7vbPW3rR8EXalUMquBEhEwJG9Rl4LHtk/pIlaz6cCgYEAyosy
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
16 f3eGmWhNIycq34Se8mnurJ/yD8sXki6M3iiam1wtTKcwpMBGjJVXQEkhpC4jI/Vh
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
17 nJtfIUIURNB1cpJuOdWuMGzyvHJ0tOmZs7T9YqKYGyTjOpV2Z4levx3+4aOXmIe8
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
18 /e+ZZHaP6h/c6PurbCCw+wrLbHlsOXIIt4DqCZkCgYA48TY5Kp0n+ciapiTDfiD5
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
19 tc8ENzeMLrCLVUIIOnHH1aYyv9Kr8aD/Reu1vQWlj3wWh6LNIebE4XHSyNd+/ofl
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
20 oh2Y5BPoFizJ9iVpNqt0l3+Svom/ag/AVUvZctLR/XGC+XYot7vjVVBGq3/1PA14
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
21 h+d9yXJf8vMqIJt0lVzSWQKBgQCft+S6X6bkkjtB3UERwaMVxjNQLVDU43JS9CJh
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
22 jeNdX/LY336cbIM1mQ6UwxakQT20vWub82mw8ErLeRckohQJx1b1GPTRZfBiOVPb
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
23 Qn4NqeoIfa4yJGqaetkcHKtBg5+nyGJgXPC5KEWUekvZ7ZvgSGdHj9uaTqXpJuN4
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
24 0U+9AQKBgQC3aM72N52iCA74PzH8NHBK6TStJkkte+FuOwAyXLmnrZ0xuRlYPsDN
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
25 zmtSqdmuuSt/P04VAzMlyGm1tp6baF5V3JJ2/6VGt9EOsAvOIh9YkBPzhImXmVW4
3b64b503f250 docker: update certificates
Goffi <goffi@goffi.org>
parents: 3497
diff changeset
26 6xUe0BG9UFTFDMqeAYGLkVv5l13sgUXMmWvqg3GaY15apoD9zyInfQ==
3381
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 -----END RSA PRIVATE KEY-----