-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
RAUC limits the capabilities of libcurl, which it uses internally, to only recognize HTTP/HTTPS/SFTP/FTP as "remote" protocols. This means that protocols like SCP and TFTP are not accepted by RAUC, though supported by libcurl.
Culprit: https://github.com/rauc/rauc/blob/2666da0ce1fcb0206b4beaf5f1e8e883434f8f51/src/bundle.c#L1314
We should patch this.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo
Relationships
Development
Select code repository
Activity
troglobit commentedon Jul 2, 2024
TFTP support added in #223
troglobit commentedon Jul 2, 2024
Found the root cause for the scp problems, libcurl use libssh2 for SSH (SCP/SFTP) access. Not to be confused with libssh, which libnetconf2 uses.
Only thing blocking this issue is adding a
-u user[:pass]
option to rauc, because from what I can tell, libcurl/curl does not support scp://user@address URIs.troglobit commentedon Jul 2, 2024
scp/sftp support added to curl in #300
[-]RAUC: Fix SCP and TFTP upgrades[/-][+]RAUC: Fix SCP/SFTP upgrades (pw handling)[/+][-]RAUC: Fix SCP/SFTP upgrades (pw handling)[/-][+]rauc: fix scp/sftp upgrades (pw handling)[/+]14 remaining items