MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / store_crypt_key

Function store_crypt_key

web/pgadmin/__init__.py:758–762  ·  view source on GitHub ↗
(app, user)

Source from the content-addressed store, hash-verified

756
757 @user_logged_in.connect_via(app)
758 def store_crypt_key(app, user):
759 # in desktop mode, master password is used to encrypt/decrypt
760 # and is stored in the keyManager memory
761 if config.SERVER_MODE and 'password' in request.form:
762 current_app.keyManager.set(request.form['password'])
763
764 @user_logged_out.connect_via(app)
765 def current_user_cleanup(app, user):

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected