Shortcuts: "Save File" action fails with "The file is invalid" when saving camera/converted image

オープン
#476 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
swift
領域
mobile-dev

調査の方向性

Find the Cryptomator Shortcuts extension implementation, specifically the 'Save File' action handler. Locate where the 'The file is invalid' error is generated and trace the file validation logic. Check how the extension receives files from the Shortcuts app versus how the main app handles file imports. The fix likely involves relaxing file type validation or improving file conversion for camera/converted image inputs.

索引モデルが issue の本文から書いたものです。

説明

Summary

In the iOS Shortcuts app, the Cryptomator "Save File" action consistently fails with the error "The file is invalid" (Korean: "파일이 올바르지 않습니다") when attempting to save a camera capture or a converted image stream into an unlocked vault folder.

Please agree to the following
System Setup
  • iOS 27.0.1
  • Cryptomator 3.1.3
Cloud Type

Dropbox

Steps to Reproduce
  1. Unlock the Dropbox vault in the Cryptomator iOS app.
  2. In the iOS Shortcuts app, create a shortcut with the following sequence:
    • Action 1: "Take Photo" (Camera)
    • Action 2: "Convert Image" to JPEG
    • Action 3: "Get Folder" from Cryptomator (Vault: Dropbox-Cryptomator, Path: /iPhone-Inbox)
    • Action 4: "Save File" to Cryptomator (Input: Converted Image or direct Photo, Destination: Folder from Action 3)
  3. Execute the shortcut.
Expected Behavior

The image should be encrypted and written to the specified /iPhone-Inbox directory inside the unlocked vault.

Actual Behavior

Action 3 ("Get Folder") executes successfully and returns the folder object, but Action 4 ("Save File") fails immediately with an error banner:

"파일이 올바르지 않습니다." ("The file is invalid.")

Reproducibility

Always

Relevant Log Output

Anything else?
  • The vault was verified to be unlocked and accessible prior to running the shortcut.
  • Passing the raw photo object directly from the camera action results in the exact same failure.
  • Saving files via the standard iOS Files app document picker interface directly into the Cryptomator vault location either grays out or fails to write, preventing standard automation workarounds.
  • Screenshot of the failing shortcut step and the error message is attached.
主要言語
Swift
スター
295
フォーク
42
平均マージ
1時間 43分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cryptomator/ios のほかの issue

cryptomator/ios の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。