MCPcopy Create free account

hub / github.com/bradfitz/webfist / functions

Functions76 in github.com/bradfitz/webfist

↓ 8 callersMethodWrite
(line []byte)
webfistd/smtp.go:83
↓ 5 callersMethodCanonical
Canonical returns the canonical version of the email address.
addr.go:58
↓ 4 callersMethodFrom
()
email.go:88
↓ 4 callersMethodHexKey
HexKey returns the human-readable, lowercase hex version of the email address's key.
addr.go:64
↓ 3 callersMethodClose
()
webfistd/smtp.go:98
↓ 3 callersMethodDecrypter
(r io.Reader)
addr.go:129
↓ 3 callersFunctionNewEmailAddr
NewEmailAddr returns a EmailAddr wrapper around an email address string. The incoming email address does not need to be canonicalized.
addr.go:51
↓ 3 callersMethodVerify
Verify returns whether
email.go:73
↓ 3 callersMethodWebFist
WebFist returns the delegation identifier parse from the email. The email must contain a single assignment where the delegated WebFinger server lives.
email.go:149
↓ 3 callersMethodemailRootFromHex
(addrHexKey string)
webfistd/localdisk.go:110
↓ 2 callersMethodDate
()
email.go:96
↓ 2 callersMethodEncrypted
()
email.go:127
↓ 2 callersMethodEncrypter
(w io.Writer)
addr.go:122
↓ 2 callersFunctionNewLookup
(storage webfist.Storage)
webfistd/lookup.go:136
↓ 2 callersMethodPutEmail
(*EmailAddr, *Email)
webfist.go:26
↓ 2 callersMethodblock
()
addr.go:99
↓ 2 callersMethodcleanRecent
()
webfistd/localdisk.go:82
↓ 2 callersMethodemailRoot
(addr *webfist.EmailAddr)
webfistd/localdisk.go:118
↓ 2 callersMethodencFile
(addrKey, encSHA1 string)
webfistd/localdisk.go:128
↓ 2 callersFunctionfindDKIMVerify
()
email.go:174
↓ 2 callersMethodgetKey
()
addr.go:68
↓ 2 callersMethodtouchRecent
(addrKey, encSHA1 string)
webfistd/localdisk.go:155
↓ 1 callersMethodEmails
(*EmailAddr)
webfist.go:27
↓ 1 callersMethodEncSHA1
EncSHA1 returns a lowercase SHA1 hex of the encrypted email.
email.go:105
↓ 1 callersMethodEncryptedEmail
EncryptedEmail returns the encrypted email with for the addrKey (the Email's HexKey) and encSHA1 (the SHA-1 of | fi, err := os.Stat(s.hexPath(sha1)) t
webfist.go:40
↓ 1 callersMethodLen
()
webfistd/lookup.go:78
↓ 1 callersMethodLookup
(w http.ResponseWriter, r *http.Request)
webfistd/lookup.go:31
↓ 1 callersFunctionNewDiskStorage
(root string)
webfistd/localdisk.go:40
↓ 1 callersFunctionNewEmail
NewEmail parses all as an email and returns a wrapper around it. Its size and format is done, but no signing verification is done.
email.go:50
↓ 1 callersMethodPutEncryptedEmail
(addrKey, sha1 string, data []byte)
webfist.go:42
↓ 1 callersMethodRecentMeta
RecentMeta returns the recently-received encrypted emails.
webfist.go:45
↓ 1 callersMethodSetEncSHA1
(x string)
email.go:123
↓ 1 callersMethodStatEncryptedEmail
StatEncryptedBlob returns the size of the encrypted blob on disk. addrKey (the Email's HexKey) and encSHA1 (the SHA-1 of the encrypted email) are lowe
webfist.go:33
↓ 1 callersMethodWebFinger
(string)
webfist.go:76
↓ 1 callersFunctioncanonicalEmail
canonicalEmail returns the canonicalized version of the provided email address.
addr.go:117
↓ 1 callersMethodencryptionKey
encryptionKey returns the AES-128 key for this email address.
addr.go:108
↓ 1 callersMethodhasSignatureHeader
hasSignatureHeaders true if e likely contains a signed email. False positives are okay.
webfistd/smtp.go:70
↓ 1 callersMethodinitSMTPServer
()
webfistd/smtp.go:42
↓ 1 callersMethodrunSMTP
(ln net.Listener)
webfistd/smtp.go:56
↓ 1 callersMethodsyncFromPeer
(host string)
webfistd/sync.go:38
↓ 1 callersMethodsyncFromPeers
()
webfistd/sync.go:32
MethodAddRecipient
(rcpt smtpd.MailAddress)
webfistd/smtp.go:80
MethodBeginData
()
webfistd/smtp.go:81
MethodEmails
(addr *webfist.EmailAddr)
webfistd/localdisk.go:212
MethodEmails
(*webfist.EmailAddr)
webfistd/lookup_test.go:35
MethodEncryptedEmail
(addrKey, encSHA1 string)
webfistd/localdisk.go:147
MethodEncryptedEmail
(addrKey, sha1 string)
webfistd/lookup_test.go:59
MethodLen
()
webfistd/localdisk.go:106
MethodLess
(i, j int)
webfistd/localdisk.go:108
MethodLess
(i, j int)
webfistd/lookup.go:86
MethodPutEmail
(addr *webfist.EmailAddr, email *webfist.Email)
webfistd/localdisk.go:182
MethodPutEmail
(*webfist.EmailAddr, *webfist.Email)
webfistd/lookup_test.go:31
MethodPutEncryptedEmail
(addrKey, encSHA1 string, data []byte)
webfistd/localdisk.go:164
MethodPutEncryptedEmail
(addrKey, encSHA1 string, data []byte)
webfistd/lookup_test.go:63
MethodRecentMeta
()
webfistd/localdisk.go:52
MethodRecentMeta
()
webfistd/lookup_test.go:67
MethodServeBlob
(w http.ResponseWriter, r *http.Request)
webfistd/blob.go:30
MethodServeRecent
(w http.ResponseWriter, r *http.Request)
webfistd/recent.go:26
MethodStatEncryptedEmail
(addrKey, encSHA1 string)
webfistd/localdisk.go:135
MethodStatEncryptedEmail
(addrKey, encSHA1 string)
webfistd/lookup_test.go:55
MethodSwap
(i, j int)
webfistd/localdisk.go:107
MethodSwap
(i, j int)
webfistd/lookup.go:82
FunctionTestDKIMVerifyAvailable
(t *testing.T)
email_test.go:25
FunctionTestEmailKey
(t *testing.T)
webfist_test.go:25
FunctionTestEmailLookup
(t *testing.T)
webfistd/lookup_test.go:83
FunctionTestEmailVerify
(t *testing.T)
email_test.go:33
FunctionTestEncrypt
(t *testing.T)
webfist_test.go:32
MethodWebFinger
(addr string)
webfistd/lookup.go:98
MethodWebFormAdd
(w http.ResponseWriter, r *http.Request)
webfistd/add.go:27
Functionfront
(w http.ResponseWriter, r *http.Request)
webfistd/front.go:28
Functioninit
()
webfistd/front.go:24
Functioninit
()
webfistd/lookup_test.go:75
FunctioninitDKIMVerify
()
email.go:166
MethodinitLazyKey
()
addr.go:73
Functionmain
()
webfistd/webfistd.go:49
MethodonNewMail
(conn smtpd.Connection, from smtpd.MailAddress)
webfistd/smtp.go:51