Add: canonicalization... whatever that is...
This commit is contained in:
+12
-2
@@ -6,13 +6,23 @@ This file exists because I'm a self-taught ametuer programmer and I wanted to ke
|
|||||||
Flags:
|
Flags:
|
||||||
[IDK] : Will return later and figure out how it works
|
[IDK] : Will return later and figure out how it works
|
||||||
[IK] : The author seemed to have an understanding of thi
|
[IK] : The author seemed to have an understanding of thi
|
||||||
|
[$TITLE] : the title of the file
|
||||||
|
|
||||||
Python's __main__ and __init__
|
Python's __main__ and __init__
|
||||||
As far as I know, __init__ is the initialization script, just like Unix and alike's /etc/init.rc script. It's required to make it so that it's a package.
|
As far as I know, __init__ is the initialization script, just like Unix and alike's /etc/init.rc script. It's required to make it so that it's a package.
|
||||||
The double underscores is for signifying that it's a global variable.
|
The double underscores is for signifying that it's a global variable.
|
||||||
|
|
||||||
|
[__init__]
|
||||||
__init__ in this case, import the libraries required for dkim magic. And tests authres, the dkim magic library, and nacl (sodium) library for ed25519 signing.
|
__init__ in this case, import the libraries required for dkim magic. And tests authres, the dkim magic library, and nacl (sodium) library for ed25519 signing.
|
||||||
|
|
||||||
|
|
||||||
there seemed to be an import on stuff that I do not understand, like dkim.canonicalization -- how does that work?
|
dkim.canonicalization is quite literally, ../dkim/canonicalization/
|
||||||
|
|
||||||
|
|
||||||
|
[canonicalization.py]
|
||||||
|
[IDK] This is a file about... canonicalization... what ever that is.... Ubuntu?
|
||||||
|
imports regular expression module
|
||||||
|
|
||||||
|
global variable __all__ is that thing
|
||||||
|
|
||||||
|
this seem to do ab
|
||||||
|
|||||||
Reference in New Issue
Block a user