Standard Notes TOTP Converter
A Python script for converting a list of TOTP URIs to the JSON format used by Standard Notes's "Authenticator" note type, and vice versa.
Usage
You can tell the script to import to or export from Standard Notes.
Importing
When importing, you provide a file path to a text file containing a list of TOTP URIs. They start with otpauth:// and will usually contain a service name, account name (username/email address), and a secret code. You can also use certain types of password manager CSV export files (only confirmed to work with Apple Passwords on MacOS), or a Bitwarden/Vaultwarden JSON file.
If the script can't find an account name, you will be asked for one. If it can't find the service name, it will be replaced by [Unknown Service].
The output when importing will be in JSON that you can use in Standard Notes. To import into SN:
- Open the text file on your computer (using Notepad, TextEdit, etc)
- Select the entire content of the text file and copy it
- Create a new note in Standard Notes and set its type to Plain Text
- Paste the contents of the text file into Standard Notes
- Change the note type to Authenticator
Exporting
The input will be a file path to a text file containing the JSON data from Standard Notes. The script will convert the JSON data back into a list of TOTP URIs in a text file that can be imported by some authenticator apps. You can also use a QR code generator on the URIs to create the TOTP QR code that can be used to add the codes to an authenticator app on your phone.
Security Considerations
Do not handle your TOTP codes on computers you do not trust, and I would recommend deleting files containing the information from your computer when done to make sure your codes don't fall into the wrong hands. If someone has your password and the files with the TOTP secrets in them, they can sign into your accounts.
This script does not use the Internet at all when converting codes, the conversion is handled entirely in the script.
Credits/License
The code in this repository is licensed under the MIT License.
The trademark of Standard Notes is owned by Standard Notes Ltd. The software itself is open-source at https://github.com/standardnotes.
Metadata
Release files for SNTOTPConverter 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sntotpconverter-1.2.0.tar.gz | 5.6 kB | Without provenance | Details for sntotpconverter-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sntotpconverter-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for sntotpconverter-1.2.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / sntotpconverter-1.2.0.tar.gz
| Download URL | sntotpconverter-1.2.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bbf456d7ee97413f0bed343ef897a0a5c4f336afbf30d41ec2e89622997e014
|
|
BLAKE2b-256 checksum How to use checksums |
1aef79555f3b467b49f98edc923063100e8e1b1dec8370ca8c7e330b3d3a55d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / sntotpconverter-1.2.0-py3-none-any.whl
| Download URL | sntotpconverter-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e02aff7f220003d0f7966cc9dabca2c0f5c586b12d855af9261c2100cffa0673
|
|
BLAKE2b-256 checksum How to use checksums |
4c47f53546172df5d8a7367b581c69e75aa704d59e70c8be53a8eeef079bebe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for SNTOTPConverter 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.