Improvements to SD card data transfer workflow #37

Open
opened 2025-02-14 03:42:31 +00:00 by ryan · 0 comments
Owner

Airgap Mode

AirgapOS will use the environment variable ICEPICK_AUTODISCOVER_STORAGE=/media, or the configuration option icepick.autodiscover_storage = "/media". This will put Icepick into "Airgap Mode", with the SD card transfer functionalities modified as per below.

Save Loop

If any devices are accessible in /media/, write payload to all devices in /media. Loop until it has been written at least once.

Load Loop

On each loop, iterate every device in /media/, attempt to load payload from root directory of device.

Online Mode

Icepick will either use an existing directory if ICEPICK_DATA_DIRECTORY is set, or create a new temporary directory to have files copied to/from. The files can then be copied to and from the removable media using a file explorer like what's available on ChromeOS. Functionality would remain as is currently implemented.

## Airgap Mode AirgapOS will use the environment variable `ICEPICK_AUTODISCOVER_STORAGE=/media`, or the configuration option `icepick.autodiscover_storage = "/media"`. This will put Icepick into "Airgap Mode", with the SD card transfer functionalities modified as per below. ### Save Loop If any devices are accessible in /media/<whatever>, write payload to all devices in `/media`. Loop until it has been written at least once. ### Load Loop On each loop, iterate every device in /media/<whatever>, attempt to load payload from root directory of device. ## Online Mode Icepick will either use an existing directory if `ICEPICK_DATA_DIRECTORY` is set, or create a new temporary directory to have files copied to/from. The files can then be copied to and from the removable media using a file explorer like what's available on ChromeOS. Functionality would remain as is currently implemented.
ryan added this to the Custody Framework project 2025-02-14 03:43:41 +00:00
ryan added this to the Icepick v0.2.0 milestone 2025-02-14 03:43:45 +00:00
ryan self-assigned this 2025-02-17 08:45:57 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/icepick#37
No description provided.