MCPcopy
hub / github.com/geekcomputers/Python / add_password

Function add_password

password_manager.py:27–38  ·  view source on GitHub ↗
(service_, username_, password_)

Source from the content-addressed store, hash-verified

25
26
27def add_password(service_, username_, password_):
28 command = (
29 'INSERT INTO STORE (SERVICE,USERNAME,PASSWORD) VALUES("'
30 + service_
31 + '","'
32 + username_
33 + '","'
34 + password_
35 + '");'
36 )
37 conn.execute(command)
38 conn.commit()
39
40
41def update_password(service_, password_):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected