From nobody Mon Aug 05 14:50:29 2024 X-Original-To: ports-bugs@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 4WczrQ0jgFz5S8qX for ; Mon, 05 Aug 2024 14:50:30 +0000 (UTC) (envelope-from bugzilla-noreply@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 4WczrP4B68z4RpV for ; Mon, 5 Aug 2024 14:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722869429; a=rsa-sha256; cv=none; b=F9wSK8ts4oUFvbiyLoRVoTpDL/qMvI2CYEoRo4sMFKN6mkyUAyCNMZpSFc4FhVzn2FFonn RZbg+sQG+/nNpaGEniEhczsI6+Sn7y6xgnHukUz/tGTUaTmjOVrCHUFch3K8AuTKL/M6/W rgkYnadRcYRC19CIPit2Q0jTvlwRbvWmhz1bG24jf5DZNPpD+p6yvXmoExrwKWGYksHgrH +0FBrW9QsET2E2UO3Zsgr6C2oj9VIIJyz7qzKmZ/OEQSerd8D7YpyPmxBrh86wEPD1fTer FcxzG2P5JcHP4lmCzENw8Rr/OYyh9wsIktRUcSCN3wo4ivyvfEdSOFmJ7jKD3Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722869429; 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=GsL5832O8wfa0s6RzUk6Nsde2+vcVO0XjIZJF9GzfyM=; b=ptyPhVFNLPFmUNhobRILogn8Be1jV+rZuwzn47mKi07EyemzvjkiuZHOfYWuO8OqHYz+Dx F2O0xpcSjFNtVI5+ZDUYipaaJf+7AQwy77WgJvQDVrHjECqFDBs0B9TlRi7KZdFimpvX/F lgwvrHx9dz+Y55BjGJn5dArELSx9POJOrxePrvbbr2rkcIvZ7qnclcZZrO9ezuu4QFapx9 9ignduwVlO9HP0FG7ovahWoXb3uMFUSYn2vk8dXqpyRriwt8k6NPWaSlRMCw1wM8iKF6JT 6UjCezLTqGQAjZi+HMWBhL1PQNiD0uSlwX8le7KtBocdhgjNZaPOkuct9rwssg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4WczrP3lRBzS83 for ; Mon, 5 Aug 2024 14:50:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 475EoTgi011668 for ; Mon, 5 Aug 2024 14:50:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 475EoTor011667 for ports-bugs@FreeBSD.org; Mon, 5 Aug 2024 14:50:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280633] multimedia/libaacs: add MMC drive support Date: Mon, 05 Aug 2024 14:50:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shoesoft@gmx.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280633 Bug ID: 280633 Summary: multimedia/libaacs: add MMC drive support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: shoesoft@gmx.net Created attachment 252521 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252521&action= =3Dedit patch for MMC drive support Currently, Blu-ray playback only works if the VUK of the disc is available = in KEYDB.cfg. Otherwise it fails. Tested with bd_info from libbluray: $ bd_info /dev/cd0=20 Using libbluray version 1.3.4 aacs.c:365: device 0x800 is revoked aacs.c:380: could not find applying subset-difference for device 0x800 aacs.c:365: device 0xc00 is revoked aacs.c:380: could not find applying subset-difference for device 0xc00 mmc_device_linux.c:188: Only block devices supported aacs.c:121: No usable AACS libraries found! dec.c:197: aacs_open() failed: -6! Volume Identifier : BluRay detected : yes First Play supported: yes Top menu supported : yes HDMV titles : 7 BD-J titles : 0 UNSUPPORTED titles : 0 BD-J detected : no AACS detected : yes libaacs detected : yes Disc ID : AACS MKB version : 81 AACS handled : no (MMC authentication failed) BD+ detected : no Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' ' No disc library metadata With this patch, libaacs will compute the key if non-revoked device keys and host certificate are present in KEYDB.cfg. The patch provides an MMC device implementation based on libcam. The linux implementation uses the CDROM_SEND_PACKET ioctl which is not available on FreeBSD. AACS decryption is now working in bd_info (vlc also works) $ bd_info /dev/cd0=20 Using libbluray version 1.3.4 aacs.c:365: device 0x800 is revoked aacs.c:380: could not find applying subset-difference for device 0x800 aacs.c:365: device 0xc00 is revoked aacs.c:380: could not find applying subset-difference for device 0xc00 Volume Identifier : BluRay detected : yes First Play supported: yes Top menu supported : yes HDMV titles : 7 BD-J titles : 0 UNSUPPORTED titles : 0 BD-J detected : no AACS detected : yes libaacs detected : yes Disc ID : AACS MKB version : 81 AACS handled : yes BD+ detected : no Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' ' No disc library metadata To run with debug enabled: $ AACS_DEBUG_MASK=3D0xffff bd_info /dev/cd0 --=20 You are receiving this mail because: You are the assignee for the bug.=