CUPS doesn't hold jobs using a password, preventing iOS clients from displaying the PIN needed to release them.

Đang mở
#1,456 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c, ios
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu bằng việc xem lại Discussion 1453 và error_log.txt đính kèm, sau đó theo dõi cách CUPS xử lý thuộc tính job-password. Xác nhận hành vi đối với các job được bảo vệ bằng mật khẩu và kiểm tra rằng việc tạm giữ trong thời gian ngắn cho phép các client iOS hiển thị PIN được tạo trước khi phát hành.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement platform issue

Need to implement a short (10-30 second) hold for jobs using the job-password attribute for PIN/passcode/password printing, otherwise iOS clients won't show the PIN they generated.

Discussed in https://github.com/OpenPrinting/cups/discussions/1453

Originally posted by mdk6c December 10, 2025
We are trying to implement PIN release printing in CUPS for iOS devices.

We have added the following to the bottom of our PPD file, as per the documentation.

*cupsMandatory: "job-password job-password-encryption"
*cupsJobPassword: "1111"

Our printer is visible from iOS devices and the print options sheet shows "This printer requires a PIN to print" as expected.

However, when we tap "Print" to submit the print job, no PIN is ever presented to the user via the expected iOS PIN dialog (screenshot below).

Image

I can see from the error_log that a job password is being generated and passed along to the filters.

error_log.txt

Maybe this issue is on the iOS side, not CUPS. I'm sorry to report it as a bug. But we have found scant guidance or implementation examples for PIN printing in our research thus far.

Ngôn ngữ chính
C
Star
1.8k
Fork
362
Merge trung bình
1 ngày 46 phút
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenPrinting/cups

Tất cả issue của OpenPrinting/cups

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.