Pulling from private repository with passphrase protected key fails

Bug #2053119 reported by Guillaume Beuzeboc
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

When using snapcraft --bind-ssh with a key that is passphrase protected, the passphrase is never asked and snapcraft fails.

logs:

Starting Snapcraft 8.0.2
Logging execution to '~/.local/state/snapcraft/log/snapcraft-20240212-125110.139787.log'
Running on amd64 for amd64
Launching instance...
Creating instance from base instance
Starting instance
Starting Snapcraft 8.0.2
Logging execution to '/tmp/snapcraft.log'
Running on amd64 for amd64
Initializing parts lifecycle
Installing build-packages
Installing build-snaps
Pulling cos-registration-agent
Failed to pull source: command ['git', 'clone', '--recursive', '<email address hidden>:test/test.git', '/root/parts/test/src'] exited with code 128.
Make sure sources are correctly specified.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.