From nobody Wed Jan 22 17:04:56 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YdVn42jHPz5klFW; Wed, 22 Jan 2025 17:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YdVn429x8z3rtg; Wed, 22 Jan 2025 17:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737565496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L7ML7f4SX/M1I0gCnCyKFvsZTwS2jiNkbPTtBl4rfrk=; b=rt6pDZJ6YexNjyhdpdypv1Zz7Tye7zewy73Xz6spmq37WmsIDakx5yn8XhygfpyCTd5bdI jPuPH0i1DmliZ6K/FOK5FD/0XeSaCGJ3qZd9w/BmFw6PTyy1YE81IexYacsOtWJ4Rr1p/N skUNdUqVoexPoM9eJcwMATxxOMa++fuj3jKhpXGfbTt2SUBIS3TsE0YpA7zJeunp4kUzdY wxuT8Ua8Q6yehioClc6WC4bmykWtVU6R4oAOSePOE2nOwhwdUOJ3NLy4XteDxdrCKYNQue 5dXkttoNFg7TMzooysy0cC9+BfCMznHKWX6rGfizB++Ht99f63veviZ90Dod+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737565496; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L7ML7f4SX/M1I0gCnCyKFvsZTwS2jiNkbPTtBl4rfrk=; b=YExFZ/WDFB/TSnr27RYsOa9C9aXkQHnszctG89zDSRnHpp+j8kFbK0Z1d69LOaW7cx9KMJ /vNzpz0S0FsRZGpu9mh5wL9lZ076TzsD/1q58iyDLDoJx9RTI33CNpU/oqdQxDdcWjKfzi LTVRpi/O52bIaDxvffVbB8hJKD+Esmi4yF34w+PvvTiRa9JjYlZWYvgn1VIrAQenHdJ7kg U6fSjw1rozc2qXjLsJxUO5MWJX2tnWDWS8OhP6adlGgKrn+/ikTTzKtMfNJET6VchxrxRR 33sudDQxlRZ9AbHiM6CMcA2hS/hvl6OFi2a8Eqk8hWwuezPJKHykyCUvT98nNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737565496; a=rsa-sha256; cv=none; b=jlrg9QU1OH96ZCCo56bujIUibBRRVlhglfmJV0DxH8Y2evUYnFirUiuK7a9MD50n8iH6qF UuE7QlL/HNvfB/HhYqugo5zEhQyPVwnC+9fnXvGHe26uK57b1zY+0ZZV3ENf2u2AbO3nPJ owMp6UvD+1YxqJXMq9O7EAPshK2dg8EbLEH3vBk7QSt4I6Ws39L6Fd8oh27eWo5MC9X+Ds jlf+upmJCvz/o/coLi90p5ZmDaAbSSgO2ysEvxQL5r4OILStG9ImQtCy2mf/HOHOb4AvFf pV2NHISlQB3BjR4v2vL5P7W7mnyxHEfBNoEpgqBwhM1rsEXMfvj9CVvO9k79Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YdVn414lkz11wt; Wed, 22 Jan 2025 17:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50MH4uol083295; Wed, 22 Jan 2025 17:04:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50MH4uiV083292; Wed, 22 Jan 2025 17:04:56 GMT (envelope-from git) Date: Wed, 22 Jan 2025 17:04:56 GMT Message-Id: <202501221704.50MH4uiV083292@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 723425f83727 - main - Deprecate publickey(5) stuff List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 723425f837270dd3b22098168ae9464a1ebe38c6 Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=723425f837270dd3b22098168ae9464a1ebe38c6 commit 723425f837270dd3b22098168ae9464a1ebe38c6 Author: Emmanuel Vadot AuthorDate: 2025-01-22 16:56:58 +0000 Commit: Emmanuel Vadot CommitDate: 2025-01-22 17:03:45 +0000 Deprecate publickey(5) stuff This uses DES and it's likely that nobody uses that in 2025. If somebody uses this we help them by deprecating and removing this. Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D30682 --- usr.bin/chkey/chkey.1 | 5 +++++ usr.bin/chkey/chkey.c | 1 + usr.bin/keylogin/keylogin.1 | 5 +++++ usr.bin/keylogin/keylogin.c | 1 + usr.bin/keylogout/keylogout.1 | 5 +++++ usr.bin/keylogout/keylogout.c | 1 + usr.bin/newkey/newkey.8 | 5 +++++ usr.bin/newkey/newkey.c | 1 + usr.sbin/keyserv/keyserv.8 | 5 +++++ usr.sbin/keyserv/keyserv.c | 1 + 10 files changed, 30 insertions(+) diff --git a/usr.bin/chkey/chkey.1 b/usr.bin/chkey/chkey.1 index 39a0022199cb..556d6c281d21 100644 --- a/usr.bin/chkey/chkey.1 +++ b/usr.bin/chkey/chkey.1 @@ -25,3 +25,8 @@ database. .Xr publickey 5 , .Xr keyserv 8 , .Xr newkey 8 +.Sh HISTORY +The +.Nm +utility was removed from +.Fx 15.0 . diff --git a/usr.bin/chkey/chkey.c b/usr.bin/chkey/chkey.c index 8309237990f1..24cb3ec3b0b5 100644 --- a/usr.bin/chkey/chkey.c +++ b/usr.bin/chkey/chkey.c @@ -90,6 +90,7 @@ main(int argc, char **argv) char *cryptpw; #endif + fprintf(stderr, "chkey is deprecated and removed from FreeBSD 15.\n"); while ((ch = getopt(argc, argv, "f")) != -1) switch(ch) { case 'f': diff --git a/usr.bin/keylogin/keylogin.1 b/usr.bin/keylogin/keylogin.1 index 0c89268c7f18..550d670afbe7 100644 --- a/usr.bin/keylogin/keylogin.1 +++ b/usr.bin/keylogin/keylogin.1 @@ -30,3 +30,8 @@ to be used by any secure network services, such as NFS. .Xr publickey 5 , .Xr keyserv 8 , .Xr newkey 8 +.Sh HISTORY +The +.Nm +utility was removed from +.Fx 15.0 . diff --git a/usr.bin/keylogin/keylogin.c b/usr.bin/keylogin/keylogin.c index be38937ea239..c64afa4846bc 100644 --- a/usr.bin/keylogin/keylogin.c +++ b/usr.bin/keylogin/keylogin.c @@ -51,6 +51,7 @@ main(void) char fullname[MAXNETNAMELEN + 1]; struct key_netstarg netst; + fprintf(stderr, "keylogin is deprecated and removed from FreeBSD 15.\n"); if (!getnetname(fullname)) { fprintf(stderr, "netname lookup failed -- make sure the "); fprintf(stderr, "system domain name is set.\n"); diff --git a/usr.bin/keylogout/keylogout.1 b/usr.bin/keylogout/keylogout.1 index 52b2340d3ad0..348d7e380ea0 100644 --- a/usr.bin/keylogout/keylogout.1 +++ b/usr.bin/keylogout/keylogout.1 @@ -42,3 +42,8 @@ This will break secure NFS if it is done on a server. .Xr publickey 5 , .Xr keyserv 8 , .Xr newkey 8 +.Sh HISTORY +The +.Nm +utility was removed from +.Fx 15.0 . diff --git a/usr.bin/keylogout/keylogout.c b/usr.bin/keylogout/keylogout.c index 03eeee0f6417..faad41462340 100644 --- a/usr.bin/keylogout/keylogout.c +++ b/usr.bin/keylogout/keylogout.c @@ -47,6 +47,7 @@ main(int argc, char **argv) { static char secret[HEXKEYBYTES + 1]; + fprintf(stderr, "keylogin is deprecated and removed from FreeBSD 15.\n"); if (geteuid() == 0) { if ((argc != 2 ) || (strcmp(argv[1], "-f") != 0)) { fprintf(stderr, diff --git a/usr.bin/newkey/newkey.8 b/usr.bin/newkey/newkey.8 index b197067fff66..c92a4b8ff208 100644 --- a/usr.bin/newkey/newkey.8 +++ b/usr.bin/newkey/newkey.8 @@ -52,6 +52,11 @@ password of the given username. .Xr keylogin 1 , .Xr publickey 5 , .Xr keyserv 8 +.Sh HISTORY +The +.Nm +utility was removed from +.Fx 15.0 . .Sh NOTES The Network Information Service .Pq NIS diff --git a/usr.bin/newkey/newkey.c b/usr.bin/newkey/newkey.c index 32f449c237b2..ddeaee6914d4 100644 --- a/usr.bin/newkey/newkey.c +++ b/usr.bin/newkey/newkey.c @@ -99,6 +99,7 @@ main(int argc, char *argv[]) struct hostent *h; #endif + fprintf(stderr, "newkey is deprecated and removed from FreeBSD 15.\n"); if (argc != 3 || !(strcmp(argv[1], "-u") == 0 || strcmp(argv[1], "-h") == 0)) { usage(); diff --git a/usr.sbin/keyserv/keyserv.8 b/usr.sbin/keyserv/keyserv.8 index f067c421a333..ca396ef644c9 100644 --- a/usr.sbin/keyserv/keyserv.8 +++ b/usr.sbin/keyserv/keyserv.8 @@ -79,3 +79,8 @@ Display status of DES support (enabled/disabled). .Xr keylogin 1 , .Xr keylogout 1 , .Xr publickey 5 +.Sh HISTORY +The +.Nm +utility was removed from +.Fx 15.0 . diff --git a/usr.sbin/keyserv/keyserv.c b/usr.sbin/keyserv/keyserv.c index 080798ad84bd..fd8d23d2e9f1 100644 --- a/usr.sbin/keyserv/keyserv.c +++ b/usr.sbin/keyserv/keyserv.c @@ -108,6 +108,7 @@ main(int argc, char *argv[]) register SVCXPRT *transp; struct netconfig *nconf = NULL; + fprintf(stderr, "keyserv is deprecated and removed from FreeBSD 15.\n"); __key_encryptsession_pk_LOCAL = &key_encrypt_pk_2_svc_prog; __key_decryptsession_pk_LOCAL = &key_decrypt_pk_2_svc_prog; __key_gendes_LOCAL = &key_gen_1_svc_prog;