git » chasquid » commit 19ce435

Regenerate auto-generated files

author Alberto Bertogli
2024-12-01 22:21:19 UTC
committer Alberto Bertogli
2024-12-01 22:21:19 UTC
parent 7e560aba6e9adfbaaf7934d47be107af0faa20e6

Regenerate auto-generated files

This patch regenerates the auto-generated files. There are no
significant changes.

- Protobuf files updated the comment formatting to match recent changes
  in Go libraries.
- IANA assignment for a AEGIS (currently an IETF draft) has been
  updated.
- The link to the human-readable IANA assignment tables from the
  generator was manually updated.

internal/config/config.pb.go +17 -15
internal/domaininfo/domaininfo.pb.go +1 -1
internal/protoio/testpb/testpb.pb.go +1 -1
internal/queue/queue.pb.go +1 -1
internal/tlsconst/ciphers.go +1 -1
internal/tlsconst/generate-ciphers.py +1 -1

diff --git a/internal/config/config.pb.go b/internal/config/config.pb.go
index f29f0b0..eddbfa4 100644
--- a/internal/config/config.pb.go
+++ b/internal/config/config.pb.go
@@ -1,6 +1,6 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
-// 	protoc-gen-go v1.28.1
+// 	protoc-gen-go v1.30.0
 // 	protoc        v3.21.12
 // source: config.proto
 
@@ -27,10 +27,11 @@ type Config struct {
 
 	// Default hostname to use when saying hello.
 	// This is used:
-	// 1) To say hello to clients, for aesthetic purposes.
-	// 2) As the HELO/EHLO domain on outgoing SMTP connections, so ideally
-	//    it would resolve back to the server. In practice, it's not a big
-	//    deal if it isn't, but it makes troubleshooting easier.
+	//  1. To say hello to clients, for aesthetic purposes.
+	//  2. As the HELO/EHLO domain on outgoing SMTP connections, so ideally
+	//     it would resolve back to the server. In practice, it's not a big
+	//     deal if it isn't, but it makes troubleshooting easier.
+	//
 	// Default: the system's hostname.
 	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
 	// Maximum email size, in megabytes.
@@ -46,27 +47,28 @@ type Config struct {
 	SubmissionAddress []string `protobuf:"bytes,4,rep,name=submission_address,json=submissionAddress,proto3" json:"submission_address,omitempty"`
 	// Addresses to listen on for submission-over-TLS (usually port 465).
 	// Default: "systemd", which means systemd passes sockets to us.
-	// systemd sockets must be named with "FileDescriptorName=submission_tls".
+	// systemd sockets must be named with
+	// "FileDescriptorName=submission_tls".
 	SubmissionOverTlsAddress []string `protobuf:"bytes,5,rep,name=submission_over_tls_address,json=submissionOverTlsAddress,proto3" json:"submission_over_tls_address,omitempty"`
 	// Address for the monitoring http server.
 	// Do NOT expose this to the public internet.
 	// Default: no monitoring http server.
 	MonitoringAddress string `protobuf:"bytes,6,opt,name=monitoring_address,json=monitoringAddress,proto3" json:"monitoring_address,omitempty"`
 	// Mail delivery agent (MDA, also known as LDA) to use.
-	// This should point to the binary to use to deliver email to local users.
-	// The content of the email will be passed via stdin.
-	// If it exits unsuccessfully, we assume the mail was not delivered.
+	// This should point to the binary to use to deliver email to local
+	// users. The content of the email will be passed via stdin. If it exits
+	// unsuccessfully, we assume the mail was not delivered.
 	// Default: "maildrop".
 	MailDeliveryAgentBin string `protobuf:"bytes,7,opt,name=mail_delivery_agent_bin,json=mailDeliveryAgentBin,proto3" json:"mail_delivery_agent_bin,omitempty"`
 	// Command line arguments for the mail delivery agent. One per argument.
 	// Some replacements will be done.
 	// On an email sent from marsnik@mars to venera@venus:
-	//  - %from%        -> from address (marsnik@mars)
-	//  - %from_user%   -> from user (marsnik)
-	//  - %from_domain% -> from domain (mars)
-	//  - %to%        -> to address (venera@venus)
-	//  - %to_user%   -> to user (venera)
-	//  - %to_domain% -> to domain (venus)
+	//   - %from%        -> from address (marsnik@mars)
+	//   - %from_user%   -> from user (marsnik)
+	//   - %from_domain% -> from domain (mars)
+	//   - %to%        -> to address (venera@venus)
+	//   - %to_user%   -> to user (venera)
+	//   - %to_domain% -> to domain (venus)
 	//
 	// Default: "-f", "%from%", "-d", "%to_user%"  (adequate for procmail
 	// and maildrop).
diff --git a/internal/domaininfo/domaininfo.pb.go b/internal/domaininfo/domaininfo.pb.go
index 69577e8..0d02cc1 100644
--- a/internal/domaininfo/domaininfo.pb.go
+++ b/internal/domaininfo/domaininfo.pb.go
@@ -1,6 +1,6 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
-// 	protoc-gen-go v1.28.1
+// 	protoc-gen-go v1.30.0
 // 	protoc        v3.21.12
 // source: domaininfo.proto
 
diff --git a/internal/protoio/testpb/testpb.pb.go b/internal/protoio/testpb/testpb.pb.go
index e1f7c73..dde3e54 100644
--- a/internal/protoio/testpb/testpb.pb.go
+++ b/internal/protoio/testpb/testpb.pb.go
@@ -1,6 +1,6 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
-// 	protoc-gen-go v1.28.1
+// 	protoc-gen-go v1.30.0
 // 	protoc        v3.21.12
 // source: testpb.proto
 
diff --git a/internal/queue/queue.pb.go b/internal/queue/queue.pb.go
index f2a001b..779d96e 100644
--- a/internal/queue/queue.pb.go
+++ b/internal/queue/queue.pb.go
@@ -1,6 +1,6 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
-// 	protoc-gen-go v1.28.1
+// 	protoc-gen-go v1.30.0
 // 	protoc        v3.21.12
 // source: queue.proto
 
diff --git a/internal/tlsconst/ciphers.go b/internal/tlsconst/ciphers.go
index 6b8e83e..67c3b1a 100644
--- a/internal/tlsconst/ciphers.go
+++ b/internal/tlsconst/ciphers.go
@@ -155,7 +155,7 @@ var cipherSuiteName = map[uint16]string{
 	0x1303: "TLS_CHACHA20_POLY1305_SHA256",
 	0x1304: "TLS_AES_128_CCM_SHA256",
 	0x1305: "TLS_AES_128_CCM_8_SHA256",
-	0x1306: "TLS_AEGIS_256_SHA384",
+	0x1306: "TLS_AEGIS_256_SHA512",
 	0x1307: "TLS_AEGIS_128L_SHA256",
 	0x5600: "TLS_FALLBACK_SCSV",
 	0xc001: "TLS_ECDH_ECDSA_WITH_NULL_SHA",
diff --git a/internal/tlsconst/generate-ciphers.py b/internal/tlsconst/generate-ciphers.py
index a60635a..a206c3c 100755
--- a/internal/tlsconst/generate-ciphers.py
+++ b/internal/tlsconst/generate-ciphers.py
@@ -8,7 +8,7 @@ import urllib.request
 import sys
 
 # Where to get the TLS parameters from.
-# See http://www.iana.org/assignments/tls-parameters/tls-parameters.xml.
+# See https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml.
 URL = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"