Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Should we sign disk images to prevent translocation?

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
macos
Lĩnh vực
desktop, release

Hướng nghiên cứu

Start by reviewing the current AppTranslocation path check that disables autostart and autoupdate when launching from a disk image. Investigate the linked disk-image signing information and determine whether signing changes those behaviors and binary paths; done means reaching and documenting a decision, with any required logic changes identified.

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

Mô tả

It is apparently possible to sign disk images. This is a separate step from notarization.

More info: https://c-command.com/dropdmg/help/signing

If we sign the disk image, then the app will not be translocated when opening from the disk image.

I'm not sure if that would be useful for us.

Possible benefits:

  • autostart Postgres.app even when it is on the disk image (disk image might be mounted automatically, need to check)
  • nicer binary paths when creating a server with Postgres.app launched from disk image:
    • signed: /Volumes/Postgres-2.7.10-17/Postgres.app/Contents/Versions/17/bin
    • unsigned: /private/var/folders/xx/xxxxxxxx/T/AppTranslocation/xxxx/d/Postgres.app/Contents/Versions/17/bin
  • no translocation when people install app with cp -R instead of using the Finder to move the app

Currently we disable autostart and autoupdate when launching from disk image. We detect that by checking if the path contains "AppTranslocation". We would have to change that logic.

Ngôn ngữ chính
Makefile
Star
7.8k
Fork
404
Merge trung bình
6 giờ 55 phút
Pull request đã merge (30 ngày)
6

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 PostgresApp/PostgresApp

Tất cả issue của PostgresApp/PostgresApp

Issue tương tự

Thêm issue về Desktop Dev

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.