From a5ecd1b2302d0def2f6f8349747022a615a9f017 Mon Sep 17 00:00:00 2001 From: Tamas K Lengyel Date: Tue, 26 May 2020 13:27:50 -0600 Subject: [PATCH] Don't limit to email with @gmail.com --- go/sendgmail/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/sendgmail/main.go b/go/sendgmail/main.go index b35ef23..405aa1b 100644 --- a/go/sendgmail/main.go +++ b/go/sendgmail/main.go @@ -30,7 +30,6 @@ import ( "log" "net/smtp" "os" - "strings" "golang.org/x/oauth2" googleOAuth2 "golang.org/x/oauth2/google" @@ -52,9 +51,6 @@ func init() { func main() { flag.Parse() - if atDomain := "@gmail.com"; !strings.HasSuffix(sender, atDomain) { - log.Fatalf("-sender must specify an %v email address.", atDomain) - } config := getConfig() tokenPath := fmt.Sprintf("%v/.sendgmail.%v.json", os.Getenv("HOME"), sender) if setUp { -- 2.32.0 type='submit' value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/keys/civodul.pub
AgeCommit message (Collapse)Author
2021-12-22tests: Move keys into ./tests/keys/ and add a third ed25519 key.Attila Lendvai
The third key will be used in an upcoming commit. Rename public keys to .pub. * guix/tests/gnupg.scm (%ed25519-3-public-key-file): New variable. (%ed25519-3-secret-key-file): New variable. (%ed25519-2-public-key-file): Renamed from %ed25519bis-public-key-file. (%ed25519-2-secret-key-file): Renamed from %ed25519bis-secret-key-file. * tests/keys/ed25519-3.key: New file. * tests/keys/ed25519-3.sec: New file. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>