Ticket #22310: secret_key_import_scheme.txt

File secret_key_import_scheme.txt, 3.5 KB (added by Zulu, 16 months ago)

Draft of settings.SECRET_KEY importing

Line 
1// Legend:
2// '#' End of way
3// '+' Not yet saw
4// '±' Abstract way
5// '~' n-plet
6 
7core/signing.py:79:     get_cookie_signer contains settings.SECRET_KEY
8|   |-  http/request.py:
9|   |   └-  contrib/formtools/wizard/storage/cookie.py:20   load_data contains set_signed_cookie
10|   └-  http/response.py:254    set_signed_cookie contains get_cookie_signer
11|       └-  contrib/formtools/wizard/storage/cookie.py:31   update_response contains set_signed_cookie
12|   
13core/signing.py:153:    Signer.__init__ contains settings.SECRET_KEY
14|   └-#
15|
16utils/crypto.py:37: salted_hmac contains settings.SECRET_KEY
17|   |-  core/signing.py:74: base64_hmac contains salted_hmac
18|   |   └-  core/signing.py:158: Signer.signature contains base64_hmac
19|   └-  contrib/messages/storage/cookie.py:119: CookieStorage._hash contains salted_hmac
20|   |   |-  contrib/messages/storage/fallback.py:11:    FallbackStorage contains CookieStorage
21|   |   |   └-  conf/global_settings.py:555:    MESSAGE_STORAGE contains FallbackStorage
22|   |   |       └-  +
23|   |   |-  contrib/formtools/wizard/views.py:593:      CookieWizardView contains CookieStorage
24|   |   └-  contrib/formtools/wizard/views.py:734:      NamedUrlCookieWizardView contains CookieStorage
25|   |-  contrib/auth/models.py:257: AbstractBaseUser.get_session_auth_hash contains salted_hmac
26|   |   └-  contrib/auth/models.py:360:   AbstractUser contains AbstractBaseUser
27|   |       └-  contrib/auth/models.py:412:    User contains AbstractUser
28|   |           └-  +
29|   |-  contrib/auth/tokens.py:63:  PasswordResetTokenGenerator._make_token_with_timestamp contains salted_hmac
30|   |   |-  contrib/auth/tokens.py:18: PasswordResetTokenGenerator.make_token contains _make_token_with_timestamp
31|   |   |   └-  contrib/auth/forms.py:264: PasswordResetForm.save contains make_token
32|   |   |       └-  ~
33|   |   |-  contrib/auth/tokens.py:36:  PasswordResetTokenGenerator.check_token contains _make_token_with_timestamp
34|   |   |   └-  contrib/auth/views.py:214:  password_reset_confirm contains check_token
35|   |   |       └-  contrib/auth/urls.py:17:    urlpatterns contains password_reset_confirm
36|   |   └-  contrib/auth/tokens.py:73: default_token_generator contains PasswordResetTokenGenerator
37|   |       └-  contrib/auth/forms.py:236:  PasswordResetForm.save contains default_token_generator
38|   |           └-  contrib/auth/views.py:138:  password_reset contains PasswordResetForm
39|   |               └-  contrib/auth/urls.py:15:    urlpatterns contains password_reset
40|   |                   └-  ±
41|   |-  contrib/formtools/utils.py:28:  form_hmac contains salted_hmac
42|   |   └-  contrib/formtools/preview.py:135:   FormPreview.security_hash contains form_hmac
43|   └-  contrib/sessions/backends/base.py:85:   SessionBase._hash contains salted_hmac
44|       |-  contrib/sessions/backends/db.py:10: SessionStore contains SessionBase
45|       |   |-  contrib/sessions/backends/cached_db.py:17: SessionStore contains SessionStore as DBStore
46|       |   |   └-  ±
47|       |-  contrib/sessions/backends/signed_cookies.py:7:  SessionStore contains SessionBase
48|       |   └-  ±
49|       |-  contrib/sessions/backends/cache.py:9:   SessionStore contains SessionBase
50|       |   └-  ±
51|       └-  contrib/sessions/backends/file.py:17:   SessionStore contains SessionBase
52|           └-  ±
53|
54utils/crypto.py:75: get_random_string contains settings.SECRET_KEY
55|   └-  core/management/commands/startproject.py:29:    Command.handle contains get_random_string
56|       └-  +
Back to Top