/ Macropad_2FA_TOTP / secrets.py
secrets.py
 1  # SPDX-FileCopyrightText: 2021 Carter Nelson for Adafruit Industries
 2  #
 3  # SPDX-License-Identifier: MIT
 4  
 5  # This file is where you keep secret settings, passwords, and tokens!
 6  # If you put them in the code you risk committing that info or sharing it
 7  
 8  secrets = {
 9                    # tuples of name, sekret key, color
10      'totp_keys' : [("Github", "JBSWY3DPEHPK3PXP", 0x8732A8),
11                     ("Discord", "JBSWY3DPEHPK3PXQ", 0x32A89E),
12                     ("Slack", "JBSWY5DZEHPK3PXR", 0xFC861E),
13                     ("Basecamp", "JBSWY6DZEHPK3PXS", 0x55C24C),
14                     ("Gmail", "JBSWY7DZEHPK3PXT", 0x3029FF),
15                     None,
16                     None, # must have 12 entires
17                     None, # set None for unused keys
18                     None,
19                     ("Hello Kitty", "JBSWY7DZEHPK3PXU", 0xED164F),
20                     None,
21                     None,
22                    ]
23      }