Re: [media-types] Thoughts on suffixes, single and multiple

Manu Sporny <msporny@digitalbazaar.com> Sat, 06 April 2024 19:07 UTC

Return-Path: <msporny@digitalbazaar.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E599C14F60F for <media-types@ietfa.amsl.com>; Sat, 6 Apr 2024 12:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=digitalbazaar.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id liLzPAt0ABRY for <media-types@ietfa.amsl.com>; Sat, 6 Apr 2024 12:07:05 -0700 (PDT)
Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 17AD2C14F5FB for <media-types@ietf.org>; Sat, 6 Apr 2024 12:07:04 -0700 (PDT)
Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-5a49261093cso1566875eaf.3 for <media-types@ietf.org>; Sat, 06 Apr 2024 12:07:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalbazaar.com; s=google; t=1712430424; x=1713035224; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=foA6W2YR0/3OJyDmh3BO90/QGLLkR4chyjcE9+HE0H4=; b=GylZ7zmtWI0d2dX511jrYqnDE362hw80WekTypWcthp5PGIGHl6G5vY69VKbLTUOHK ouFu8BgA4XKNAdaAPjwuMMvbuVF6i9G6hijrb8/WNx69qDG57ZetHBrztkPVPd7mVeGW TTrqjxFYWvIlWBsdF6E8H/SInsEY43DXi1H+FQaic5CtTtp28br3FWQvKY2D3Q3/m9YJ +q+48eddLIRba1LjJdqpoK67mWzHjX/yvqW1kqexH0AEbQS3vcz2mT95GyejYdezzPE9 aAPMiZor+MZ6T9k/vAuwCFthr9fEXA2ehmjlldNTrU3UdCEq51tKPL1aLwys8FFxrAS7 tDzQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712430424; x=1713035224; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=foA6W2YR0/3OJyDmh3BO90/QGLLkR4chyjcE9+HE0H4=; b=CjFkODOFSQ8mvdLAdU5vJ6egME/k9+/mSKLhd6nID8cNG0qxqmWg7dJBtUtcnpB+GN TcIx4Hfzf1p2Ndq3b24Yj84pvXAz6c2K/VeArwVe/T1IIWAps0MajeSjz0C5S//t+dx7 IIcdX8FoqN2OqfVNU+y1FE3dyxUVkItXKrT68KOdBhHUTFi6wTHPTpsYrPJ40IrqrJNb SN/JYZ2kDG/phJcGVhYRCF1nVsZKQtUMWhNJC11gB4JWWRIZamwCs7M3ULYsXkS/uxZs r+dks/171A+qsDks7v6wYWHt1FZ81WxWF+8HO9WTHI8lEKuZmjWbkkKMvtT5HDbinYZ1 HMbg==
X-Gm-Message-State: AOJu0YyGY+8d6ofuLdDiqEMJ/Tfw7F3xWSxAeL6SDZ/7WE0esI64noD3 FbKDseQ93doQ5p9BnoS10J42MZc1SbeT+huoI3U7RAahyCH2LpGPNIKhjNDs7LkCdCLrz97Opum Y9GIxGjbq/3HqdVgbCySHlDJ6eomzV1CHLuA53TyT3UeI4UOHqMk=
X-Google-Smtp-Source: AGHT+IFfN4XrN6MNdwELvh5tzklXARjr4qi8aognBr1xW+iIOFW2aOshfY08WzWZ366P9fi7urhP2C/H58sLQGY9hP4=
X-Received: by 2002:a05:6358:f482:b0:17b:b369:aeba with SMTP id ku2-20020a056358f48200b0017bb369aebamr4011168rwb.21.1712430423838; Sat, 06 Apr 2024 12:07:03 -0700 (PDT)
MIME-Version: 1.0
References: <2E20FEDE-C766-43EE-A6E2-1FB63E79CF0B@mnot.net> <1c404c4d-437c-464a-b414-4e0d39c1d8ea@alvestrand.no> <E83E80FF-5810-4A53-85D8-E5095F9C1C1C@openlinksw.com> <837B503B-B9F9-40F7-8078-7D1BCD66D076@mnot.net> <CAMBN2CTMk8GDeUT0ObHcW=xxaRMzd75PrtWwLa_YB-4JoF_FxA@mail.gmail.com> <DU0P190MB1978FF21206D608D2AECB9C2FD032@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB1978FF21206D608D2AECB9C2FD032@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 06 Apr 2024 15:06:28 -0400
Message-ID: <CAMBN2CR4xT5BAsAN7ocWp4q84Bi8tb98ALGg7oUNobYYxgpKaw@mail.gmail.com>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Cc: IETF Media Types <media-types@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/25_CgfJLLLD-8AuwwZXLA4vPBC0>
Subject: Re: [media-types] Thoughts on suffixes, single and multiple
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Apr 2024 19:07:09 -0000

On Fri, Apr 5, 2024 at 12:09 PM Esko Dijk <esko.dijk@iotconsultancy.nl> wrote:
> > I can't imagine that WGs that have produced specifications, that use
> > suffixes, that have followed the rules to this point, as vague as they
> > have been, would accept being labeled as a "bad suffix usage".
>
> Maybe one: I would expect the ANIMA WG to now agree that the definition in RFC 8366 of
> "application/voucher-cms+json" is a "bad suffix usage".
> (Reason: the data of the media type is a CMS structure. Not JSON.)

Hmm, right, that falls into a different category than I was thinking:
That's just clearly wrong. :)

I'm guessing this is the CMS structure to which you're referring?

https://datatracker.ietf.org/doc/html/rfc8366#section-5.4

... but then there seems to be an update in the works that looks like
JSON to me (updating 8366?):

https://datatracker.ietf.org/doc/html/draft-ietf-anima-jws-voucher#name-voucher-artifact-with-json-

... and both of them are claiming "application/voucher-cms+json"? I'm
confused about what is going on there. Is there a one paragraph
summary of what the end-state is expected to be?

I wonder how many of those we have in the IANA Media Types registry?
I've raised an issue to track any other suffix usage that people think
are "clearly wrong". Please add your thoughts there (noting that this
is a higher bar than "I don't like it and think it should be wrong"...
what we're looking for here is a suffix being used in a way that
violates existing suffix usage rules, which a CMS structure being
signalled as JSON does):

https://github.com/ietf-wg-mediaman/suffixes/issues/25

-- manu

-- 
Manu Sporny - https://www.linkedin.com/in/manusporny/
Founder/CEO - Digital Bazaar, Inc.
https://www.digitalbazaar.com/