All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 and ipp-usb 0.9.24 announce
@ 2023-12-08 16:02 Alexander Pevzner
  2023-12-08 17:14 ` Michael Sweet
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Pevzner @ 2023-12-08 16:02 UTC (permalink / raw)
  To: printing-architecture

Hi,

after long delay I'm glad to announce next releases of goipp and ipp-usb

(1) goipp

goipp is the independent, fairly complete implementation of the core IPP 
protocol (per RFC 8010), written in pure Go. It was created a while ago 
as a part of the ipp-usb project, because being working on that project 
I've noticed, to my surprise, that there is no working implementation of 
the IPP protocol in Go, and was moved into the separate project in 
assumption that it can be useful by itself, as a general-purpose IPP 
library.

This implementation written from scratch. CUPS code was only consulted 
as a source of expertise, but Go implementation is 100% independent.

The 1.1.0 version adds the following things:
   - workaround for Pantum M7300FDW. This device (and, probably, many 
similar) violates IPP protocol and encodes collection members as named 
attributes instead of using memberAttrName tags to represent attribute 
names within collections
   - Groups field added to the Message structure. It allows to represent 
IPP messages with repeated groups with the same group tags (like Get-Jobs)
   - near 100% test coverage
   - few minor bugs were discovered and fixed (mostly related to more 
accurate reporting of IPP decoding errors)
   - general improvements of errors reporting, mostly in formulating 
error messages

(2) ipp-usb

1. Added support for clients authentication 
(https://github.com/OpenPrinting/ipp-usb/issues/61), requested by RedHat 
a while ago

2. Added workaround for Canon Selphy CP1500 
(https://github.com/OpenPrinting/ipp-usb/issues/73). This device returns 
invalid IPP status in the Get-Printer-Attributes. Workaround implemented 
as the ignore-ipp-status in case it will be useful for other devices.

3. Added support for HP LaserJet MFP M426fdn, HP ColorLaserJet MFP 
M278-M281 and, probably, some similar devices.

These MFPs use non-standard Class/SubClass/Protocol combination for IPP 
over USB, 255/9/1. Ideally it should be implemented as quirk, but for 
now simply hardcoded (for idVendor == 0x03f0).

4. Workaround for Pantum M7300FDW (explained above, in the goipp announce).

Please note, that fixing Pantum M7300FDW requires the similar patch in 
CUPS, which is not currently approved (see 
https://github.com/OpenPrinting/cups/pull/826).

5. User-contributed FreeBSD port (see 
https://cgit.freebsd.org/ports/commit/?id=c30e4415453a5d3c5c0cd00d253250b8f7e2054d)

6. Some other bug fixes and small improvements.

This version requires goipp 1.1.0 for building.

-- 

	Wishes, Alexander Pevzner (pzz@apevzner.com)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 and ipp-usb 0.9.24 announce
  2023-12-08 16:02 [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 and ipp-usb 0.9.24 announce Alexander Pevzner
@ 2023-12-08 17:14 ` Michael Sweet
  2023-12-08 17:25   ` [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 andipp-usb " gene heskett
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Sweet @ 2023-12-08 17:14 UTC (permalink / raw)
  To: Alexander Pevzner; +Cc: printing-architecture

Alexander,

> On Dec 8, 2023, at 11:02 AM, Alexander Pevzner <pzz@apevzner.com> wrote:
> ...
> Please note, that fixing Pantum M7300FDW requires the similar patch in CUPS, which is not currently approved (see https://github.com/OpenPrinting/cups/pull/826).

*No*.  Fixing this printers requires that the printer manufacturer fixes their firmware...  It is one thing if an attribute is using an odd syntax (e.g. name instead of keyword), but quite another thing when they break a fundamental part of the IPP encoding that has known, *previously exploited* security implications.  Think of it as a malicious USB device that causes an issue when plugged into a computer...

________________________
Michael Sweet


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 andipp-usb 0.9.24 announce
  2023-12-08 17:14 ` Michael Sweet
@ 2023-12-08 17:25   ` gene heskett
  0 siblings, 0 replies; 3+ messages in thread
From: gene heskett @ 2023-12-08 17:25 UTC (permalink / raw)
  To: printing-architecture

On 12/8/23 12:15, Michael Sweet via Printing-architecture wrote:
> Alexander,
> 
>> On Dec 8, 2023, at 11:02 AM, Alexander Pevzner <pzz@apevzner.com> wrote:
>> ...
>> Please note, that fixing Pantum M7300FDW requires the similar patch in CUPS, which is not currently approved (see https://github.com/OpenPrinting/cups/pull/826).
> 
> *No*.  Fixing this printers requires that the printer manufacturer fixes their firmware...  It is one thing if an attribute is using an odd syntax (e.g. name instead of keyword), but quite another thing when they break a fundamental part of the IPP encoding that has known, *previously exploited* security implications.  Think of it as a malicious USB device that causes an issue when plugged into a computer...
> 
> ________________________
> Michael Sweet
> 
I actually have one of those Michael, a usb driven sd card reader/writer 
that kills arm's if plugged it at boot times.  Works fine on wintel stuff.

> _______________________________________________
> Printing-architecture mailing list
> Printing-architecture@lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-08 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-08 16:02 [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 and ipp-usb 0.9.24 announce Alexander Pevzner
2023-12-08 17:14 ` Michael Sweet
2023-12-08 17:25   ` [Printing-architecture] github.com/OpenPrinting/goipp 1.1.0 andipp-usb " gene heskett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.