Expand description
ยงQR code module.
Modulesยง
- dclogin_
scheme ๐
Structsยง
Enumsยง
- Login
Options - Options for
dclogin:scheme. - Qr
- Scanned QR code.
Constantsยง
- DCACCOUNT_
SCHEME ๐ - DCBACKUP_
SCHEME_ ๐PREFIX - Backup transfer based on iroh-net.
- DCBACKUP_
VERSION ๐ - Version written to Backups and Backup-QR-Codes. Imports will fail when they have a larger version.
- DCLOGIN_
SCHEME ๐ - HTTPS_
SCHEME ๐ - IDELTACHAT_
NOSLASH_ ๐SCHEME - IDELTACHAT_
SCHEME ๐ - MAILTO_
SCHEME ๐ - MATMSG_
SCHEME ๐ - OPENPG
P4FPR_ ๐SCHEME - SHADOWSOCKS_
SCHEME ๐ - SMTP_
SCHEME ๐ - TG_
SOCKS_ ๐SCHEME - VCARD_
SCHEME ๐
Staticsยง
- VCARD_
EMAIL_ ๐RE - VCARD_
NAME_ ๐RE
Functionsยง
- check_
qr - Checks a scanned QR code.
- decode_
account ๐ - scheme:
DCACCOUNT:example.orgorDCACCOUNT:https://example.org/neworDCACCOUNT:https://example.org/new_email?t=1w_7wDjgjelxeX884x96v3 - decode_
backup2 ๐ - Decodes a
DCBACKUPQR code. - decode_
ideltachat ๐ - scheme:
https://i.delta.chat[/]#FINGERPRINT&a=ADDR[&OPTIONAL_PARAMS] - decode_
mailto ๐ - Extract address for the mailto scheme.
- decode_
matmsg ๐ - Extract address for the matmsg scheme.
- decode_
openpgp ๐ - scheme:
OPENPGP4FPR:FINGERPRINT#a=ADDR&n=NAME&i=INVITENUMBER&s=AUTHor:OPENPGP4FPR:FINGERPRINT#a=ADDR&g=GROUPNAME&x=GROUPID&i=INVITENUMBER&s=AUTHor:OPENPGP4FPR:FINGERPRINT#a=ADDR - decode_
shadowsocks_ ๐proxy - Decodes
ss://URLs for Shadowsocks proxies. - decode_
smtp ๐ - Extract address for the smtp scheme.
- decode_
tg_ ๐socks_ proxy - scheme:
https://t.me/socks?server=foo&port=123orhttps://t.me/socks?server=1.2.3.4&port=123 - decode_
vcard ๐ - Extract address for the vcard scheme.
- fix_
add_ ๐second_ device_ qr - format_
backup - Formats the text of the
Qr::Backup2variant. - login_
param_ ๐from_ account_ qr - Takes a QR with
DCACCOUNT:scheme, parses its parameters, downloads additional information from the contained URL and returns the login parameters. - normalize_
address ๐ - URL decodes a given address, does basic email validation on the result.
- set_
config_ from_ qr - Sets configuration values from a QR code.
- starts_
with_ ๐ignore_ case