Thu Jan 7 22:09:52 2021 UTC ()
gsasl: update to 1.10.0.

* Version 1.10.0 (released 2021-01-01) [stable]

** This is a new major stable release.  Brief changes compared to 1.8.x:

*** SCRAM-SHA-256 and SCRAM-SHA-256-PLUS support per RFC 7677.

*** SCRAM supports password-less usage (StoredKey/ServerKey).

*** New 'gsasl --mkpasswd' command to prepare SCRAM salted/hashed passwords.

*** Final warning that obsolete APIs will be removed.

*** Various cleanups, portability and other bug fixes.
See the entries in NEWS and lib/NEWS covering the 1.9.x branch for details.

* Version 1.9.3 (released 2021-01-01) [beta]

** Fix build/portability problems.  GnuTLS >= 3.4 is required.
Thanks to Bruno Haible for reports.

* Version 1.9.2 (released 2020-12-24) [beta]

** gsasl: Don't abort command on some exepected TLS events (for TLS 1.3).
Patch from Enrico Scholz <enrico.scholz@sigma-chemnitz.de> in:
https://lists.gnu.org/archive/html/help-gsasl/2020-08/msg00000.html

** gsasl: Use GnuTLS system trust settings by default for X.509 server
** certificate validation.
Before it was documented behaviour that unless --x509-ca-file was
used, no verification of the server-side certificate was performed.
Now instead it will use the system trust settings, which on properly
configured systems results in verification of the server certificate.
As a result, you may now start to get server certificate verification
errors in situations where you didn't expect them.  Use --x509-ca-file
with the empty string ("") as a file name to use the old behaviour to
not abort on server certificate verification failures.

** SCRAM, GS2 and GSSAPI retrieve properties later in
** the authentication process.
Before the property GSASL_CB_TLS_UNIQUE was retrieved during SCRAM
gsasl_client_start() and gsasl_server_start(), and the properties
GSSAPI_SERVICE and GSSAPI_HOSTNAME was retrived during GS2/GSSAPI
gsasl_server_start().  Now they are retrieved during the first call to
gsasl_step().

The only user-visible impact of this should be that 'gsasl
--client-mechanisms' and 'gsasl --server-mechanisms' will now not
query for parameters before giving a list of supported mechanisms,
which arguable gives a better user experience.  The downside of this
is that SCRAM-*-PLUS, GS2 and GSSAPI may be advertised even though
completing the server mechanism may not complete.

The problem with calling callbacks in the start() function is that the
callback will have no per-session context at that point, only a global
context, so the only way to give per-session unique callback responses
is to use a separate global handle per session.  This was discovered
in the Exim implementation of gsasl with SCRAM that used to request
the GSASL_CB_TLS_UNIQUE property in the start() function.  After
noticing this design issue, and writing this self test, it was
discovered that it also happened for the GSSAPI/GS2 server (not
client) mechanism for the GSASL_SERVICE and GSASL_HOSTNAME properties.

Thanks to Jeremy Harris for noticing the problem and discussion, see
https://lists.gnu.org/archive/html/help-gsasl/2020-01/msg00035.html

** gsasl: The --mkpasswd output format follows Dovecot 'doveadm pw'.

** Filenames of images in the manual are now prefixed with 'gsasl-'.
This makes /usr/share/info more understandable, and it is suggested by
at least Debian to do this in upstream.

** Build changes.
Some more compiler warnings used and code fixed.  Improved ./configure
diagnostics.

* Version 1.9.1 (released 2020-01-14) [beta]

** gsasl: New --mkpasswd argument to prepare salted/hashed passwords.
Currently mechanisms SCRAM-SHA-1 and SCRAM-SHA-256 are supported.  New
parameter --iteration-count to indicate number of PBKDF2 rounds,
default being 65536.  New parameter --salt to specify PBKDF2 salt.

* Version 1.9.0 (released 2020-01-03) [beta]

** Client and server support for SCRAM-SHA-256 and SCRAM-SHA-256-PLUS.

** gsasl: If PORT argument is "587" or "submission", SMTP mode is used.
Further, unrecognized PORT arguments will now on raise an error to
specify --smtp or --imap.


(wiz)
diff -r1.50 -r1.51 pkgsrc/security/gsasl/Makefile
diff -r1.18 -r1.19 pkgsrc/security/gsasl/PLIST
diff -r1.19 -r1.20 pkgsrc/security/gsasl/distinfo
diff -r1.2 -r0 pkgsrc/security/gsasl/patches/patch-ac

cvs diff -r1.50 -r1.51 pkgsrc/security/gsasl/Makefile (expand / switch to unified diff)

--- pkgsrc/security/gsasl/Makefile 2020/11/16 13:05:07 1.50
+++ pkgsrc/security/gsasl/Makefile 2021/01/07 22:09:52 1.51
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.50 2020/11/16 13:05:07 wiz Exp $ 1# $NetBSD: Makefile,v 1.51 2021/01/07 22:09:52 wiz Exp $
2 2
3DISTNAME= gsasl-1.8.1 3DISTNAME= gsasl-1.10.0
4CATEGORIES= security 4CATEGORIES= security
5MASTER_SITES= ${MASTER_SITE_GNU:=gsasl/} 5MASTER_SITES= ${MASTER_SITE_GNU:=gsasl/}
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://www.gnu.org/software/gsasl/ 8HOMEPAGE= https://www.gnu.org/software/gsasl/
9COMMENT= GNU implementation of the Simple Authentication and Security Layer 9COMMENT= GNU implementation of the Simple Authentication and Security Layer
10LICENSE= gnu-gpl-v3 10LICENSE= gnu-gpl-v3
11 11
12USE_TOOLS+= msgfmt pkg-config 12USE_TOOLS+= msgfmt pkg-config
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14USE_PKGLOCALEDIR= yes 14USE_PKGLOCALEDIR= yes
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16CONFIGURE_ARGS+= --disable-gtk-doc 16CONFIGURE_ARGS+= --disable-gtk-doc

cvs diff -r1.18 -r1.19 pkgsrc/security/gsasl/PLIST (expand / switch to unified diff)

--- pkgsrc/security/gsasl/PLIST 2020/11/16 13:05:07 1.18
+++ pkgsrc/security/gsasl/PLIST 2021/01/07 22:09:52 1.19
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.18 2020/11/16 13:05:07 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.19 2021/01/07 22:09:52 wiz Exp $
2bin/gsasl 2bin/gsasl
3include/gsasl-compat.h 3include/gsasl-compat.h
4include/gsasl-mech.h 4include/gsasl-mech.h
5include/gsasl.h 5include/gsasl.h
6info/gsasl.info 6info/gsasl.info
7lib/libgsasl.la 7lib/libgsasl.la
8lib/pkgconfig/libgsasl.pc 8lib/pkgconfig/libgsasl.pc
9man/man1/gsasl.1 9man/man1/gsasl.1
10man/man3/gsasl_appinfo_get.3 10man/man3/gsasl_appinfo_get.3
11man/man3/gsasl_appinfo_set.3 11man/man3/gsasl_appinfo_set.3
12man/man3/gsasl_application_data_get.3 12man/man3/gsasl_application_data_get.3
13man/man3/gsasl_application_data_set.3 13man/man3/gsasl_application_data_set.3
14man/man3/gsasl_base64_decode.3 14man/man3/gsasl_base64_decode.3
@@ -49,41 +49,46 @@ man/man3/gsasl_client_mechlist.3 @@ -49,41 +49,46 @@ man/man3/gsasl_client_mechlist.3
49man/man3/gsasl_client_start.3 49man/man3/gsasl_client_start.3
50man/man3/gsasl_client_step.3 50man/man3/gsasl_client_step.3
51man/man3/gsasl_client_step_base64.3 51man/man3/gsasl_client_step_base64.3
52man/man3/gsasl_client_suggest_mechanism.3 52man/man3/gsasl_client_suggest_mechanism.3
53man/man3/gsasl_client_support_p.3 53man/man3/gsasl_client_support_p.3
54man/man3/gsasl_ctx_get.3 54man/man3/gsasl_ctx_get.3
55man/man3/gsasl_decode.3 55man/man3/gsasl_decode.3
56man/man3/gsasl_decode_inline.3 56man/man3/gsasl_decode_inline.3
57man/man3/gsasl_done.3 57man/man3/gsasl_done.3
58man/man3/gsasl_encode.3 58man/man3/gsasl_encode.3
59man/man3/gsasl_encode_inline.3 59man/man3/gsasl_encode_inline.3
60man/man3/gsasl_finish.3 60man/man3/gsasl_finish.3
61man/man3/gsasl_free.3 61man/man3/gsasl_free.3
 62man/man3/gsasl_hash_length.3
 63man/man3/gsasl_hex_from.3
 64man/man3/gsasl_hex_to.3
62man/man3/gsasl_hmac_md5.3 65man/man3/gsasl_hmac_md5.3
63man/man3/gsasl_hmac_sha1.3 66man/man3/gsasl_hmac_sha1.3
64man/man3/gsasl_init.3 67man/man3/gsasl_init.3
65man/man3/gsasl_md5.3 68man/man3/gsasl_md5.3
66man/man3/gsasl_md5pwd_get_password.3 69man/man3/gsasl_md5pwd_get_password.3
67man/man3/gsasl_mechanism_name.3 70man/man3/gsasl_mechanism_name.3
68man/man3/gsasl_nonce.3 71man/man3/gsasl_nonce.3
69man/man3/gsasl_property_fast.3 72man/man3/gsasl_property_fast.3
70man/man3/gsasl_property_get.3 73man/man3/gsasl_property_get.3
71man/man3/gsasl_property_set.3 74man/man3/gsasl_property_set.3
72man/man3/gsasl_property_set_raw.3 75man/man3/gsasl_property_set_raw.3
73man/man3/gsasl_random.3 76man/man3/gsasl_random.3
74man/man3/gsasl_randomize.3 77man/man3/gsasl_randomize.3
75man/man3/gsasl_register.3 78man/man3/gsasl_register.3
76man/man3/gsasl_saslprep.3 79man/man3/gsasl_saslprep.3
 80man/man3/gsasl_scram_secrets_from_password.3
 81man/man3/gsasl_scram_secrets_from_salted_password.3
77man/man3/gsasl_server_application_data_get.3 82man/man3/gsasl_server_application_data_get.3
78man/man3/gsasl_server_application_data_set.3 83man/man3/gsasl_server_application_data_set.3
79man/man3/gsasl_server_callback_anonymous_get.3 84man/man3/gsasl_server_callback_anonymous_get.3
80man/man3/gsasl_server_callback_anonymous_set.3 85man/man3/gsasl_server_callback_anonymous_set.3
81man/man3/gsasl_server_callback_cipher_get.3 86man/man3/gsasl_server_callback_cipher_get.3
82man/man3/gsasl_server_callback_cipher_set.3 87man/man3/gsasl_server_callback_cipher_set.3
83man/man3/gsasl_server_callback_cram_md5_get.3 88man/man3/gsasl_server_callback_cram_md5_get.3
84man/man3/gsasl_server_callback_cram_md5_set.3 89man/man3/gsasl_server_callback_cram_md5_set.3
85man/man3/gsasl_server_callback_digest_md5_get.3 90man/man3/gsasl_server_callback_digest_md5_get.3
86man/man3/gsasl_server_callback_digest_md5_set.3 91man/man3/gsasl_server_callback_digest_md5_set.3
87man/man3/gsasl_server_callback_external_get.3 92man/man3/gsasl_server_callback_external_get.3
88man/man3/gsasl_server_callback_external_set.3 93man/man3/gsasl_server_callback_external_set.3
89man/man3/gsasl_server_callback_gssapi_get.3 94man/man3/gsasl_server_callback_gssapi_get.3

cvs diff -r1.19 -r1.20 pkgsrc/security/gsasl/distinfo (expand / switch to unified diff)

--- pkgsrc/security/gsasl/distinfo 2020/11/16 13:05:07 1.19
+++ pkgsrc/security/gsasl/distinfo 2021/01/07 22:09:52 1.20
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.19 2020/11/16 13:05:07 wiz Exp $ 1$NetBSD: distinfo,v 1.20 2021/01/07 22:09:52 wiz Exp $
2 2
3SHA1 (gsasl-1.8.1.tar.gz) = 82ba0079da6918784a8170d4a13ee133d9df1d7a 3SHA1 (gsasl-1.10.0.tar.gz) = ec3def1bdc4a0b6284f0d1e2901495218c87587e
4RMD160 (gsasl-1.8.1.tar.gz) = 8cf11ab86e608f36c74593e4b37ebdb000df4292 4RMD160 (gsasl-1.10.0.tar.gz) = 0b7b66702493527f295ba35c4f2a409600839946
5SHA512 (gsasl-1.8.1.tar.gz) = 8973f5af12cc17aae76a4a2ea887d17e74e48b1ce896dfd62fde8cb874ed965d77c62d671ff86ce3217158e58a7a521b7fde9ea606f73c3a912a8973f1b204cb 5SHA512 (gsasl-1.10.0.tar.gz) = 8b1dc87e85dbfd0255b3b43c4b7f9c2e896cb03efe4cd4af86393b62fd193665aae4ce59e66db736722e32babfcea6d4f6ddd3c5f069dcc4210f7e9531043e4a
6Size (gsasl-1.8.1.tar.gz) = 5774550 bytes 6Size (gsasl-1.10.0.tar.gz) = 5946076 bytes
7SHA1 (patch-ac) = 8a51c8a8bc046a0efe6572c244cd0c886e7ab7b4 

File Deleted: pkgsrc/security/gsasl/patches/Attic/patch-ac