ipptool: Add support for arbitrary group tags and attribute syntaxes (value tags)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- backend-api-design
Research direction
Start with the RFC 8010 sections linked in the issue, then inspect libcups' _ippFile parsing code and the existing character-string and integer helpers. Extend handling for the listed group and value-tag ranges, including the proposed octet-string path, and verify that ipptool and ippserver accept and preserve those syntaxes.
Written by the indexing model from the issue text.
Description
Currently libcups (and thus ipptool and ippserver) only supports the registered attribute syntaxes. However, section 3.5.2 of RFC 8010 allocates ranges of value tags for out of band (0x10 to 0x1f), integer (0x20 to 0x2f), octetString (0x30 to 0x3f), character-string (0x40 to 0x5f), and vendor extension values (0x40000000 to 0x7fffffff).
libcups should be extended to support these values, probably using a new ippAddOctetString2 function (with a value_tag argument, like we do for character strings and integers) for the octetString and vendor extension ranges. The _ippFile parsing code can then be extended to support these value tags accordingly.
Similarly, the tags from 0x00 to 0x0f are reserved for attribute group tags (in section 3.5.1 of RFC 8010) but should be supported as group_tag values.
- Dominant language
- C
- Stars
- 81
- Forks
- 48
- Avg merge
- 23h 58m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/libcups
-
enhancement priority-high security
Difficulty 5/5 Over a week Newbie friendliness 35/100
OpenPrinting/libcups#163 ·
-
enhancement priority-high security
Difficulty 4/5 3-5 days Newbie friendliness 48/100
OpenPrinting/libcups#162 ·
-
enhancement priority-medium
Difficulty 5/5 Over a week Newbie friendliness 35/100
OpenPrinting/libcups#121 ·
-
enhancement priority-medium
Difficulty 5/5 Over a week Newbie friendliness 30/100
OpenPrinting/libcups#120 ·
-
enhancement platform issue
Difficulty 5/5 Over a week Newbie friendliness 25/100
OpenPrinting/libcups#109 ·
All issues in OpenPrinting/libcups
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·