Upgrade keyring to 10.3.2 (#11531)

This commit is contained in:
Fabian Affolter authored and Paulus Schoutsen committed 2018-01-09 19:51:35 -08:00
1 parent cf04a81f70
commit c4bc42d527
2 files changed
+9 -6

No files matched your search

+5 -5
View File
@@ -1,11 +1,11 @@
"""Script to get, set, and delete secrets stored in the keyring."""
import os
"""Script to get, set and delete secrets stored in the keyring."""
import argparse
import getpass
import os
from homeassistant.util.yaml import _SECRET_NAMESPACE
REQUIREMENTS = ['keyring>=9.3,<10.0']
REQUIREMENTS = ['keyring==10.3.2', 'keyrings.alt==2.3']
def run(args):
@@ -39,8 +39,8 @@ def run(args):
return 1
if args.action == 'set':
the_secret = getpass.getpass('Please enter the secret for {}: '
.format(args.name))
the_secret = getpass.getpass(
'Please enter the secret for {}: '.format(args.name))
keyring.set_password(_SECRET_NAMESPACE, args.name, the_secret)
print('Secret {} set successfully'.format(args.name))
elif args.action == 'get':
+4 -1
View File
@@ -416,7 +416,10 @@ jsonrpc-async==0.6
jsonrpc-websocket==0.5
# homeassistant.scripts.keyring
keyring>=9.3,<10.0
keyring==10.3.2
# homeassistant.scripts.keyring
keyrings.alt==2.3
# homeassistant.components.device_tracker.owntracks
# homeassistant.components.device_tracker.owntracks_http