Skip to content

[PW_SID:1085080] agent: add passphrase storage options#497

Open
IWDTestBot wants to merge 3 commits into
workflowfrom
1085080
Open

[PW_SID:1085080] agent: add passphrase storage options#497
IWDTestBot wants to merge 3 commits into
workflowfrom
1085080

Conversation

@IWDTestBot
Copy link
Copy Markdown
Owner

Add RequestPassphraseWithOptions support for PSK passphrase requests.
The method lets an agent return the passphrase together with options
that affect how IWD handles it.

Currently the only option is Store. When Store is false, use the
passphrase for the current connection attempt but keep it out of the
network profile.

Fall back to RequestPassphrase if the agent does not implement the new
method.

src/agent.c | 108 +++++++++++++++++++++++++++++++++++++++++++-------
src/agent.h | 1 +
src/network.c | 12 ++++++
3 files changed, 107 insertions(+), 14 deletions(-)

mkurz added 3 commits April 24, 2026 10:04
Add RequestPassphraseWithOptions support for PSK passphrase requests.
The method lets an agent return the passphrase together with options
that affect how IWD handles it.

Currently the only option is Store. When Store is false, use the
passphrase for the current connection attempt but keep it out of the
network profile.

Fall back to RequestPassphrase if the agent does not implement the new
method.
Document RequestPassphraseWithOptions and the Store option for agents
that want to control whether a PSK passphrase is saved in the network
profile.
Extend the PSK agent test helper to implement
RequestPassphraseWithOptions and add coverage for Store=false. The test
verifies that IWD can use the agent-provided passphrase without writing
PSK secrets back to the profile.
@IWDTestBot
Copy link
Copy Markdown
Owner Author

Fetch PR
Test ID: fetch
Desc: Fetch the PR commits for this CI run
Duration: 3.23 seconds
Result: PASS

Prep - Setup ELL
Test ID: setupell
Desc: Clone, build, and install ELL
Duration: 25.70 seconds
Result: PASS

Make Distcheck
Test ID: makedistcheck
Desc: Run distcheck to check the distribution
Duration: 56.44 seconds
Result: PASS

Build - Configure
Test ID: build
Desc: Configure the BlueZ source tree
Duration: 12.06 seconds
Result: PASS

Make Check
Test ID: makecheck
Desc: Run 'make check'
Duration: 1.95 seconds
Result: PASS

Make Check w/Valgrind
Test ID: makecheckvalgrind
Desc: Run 'make check' with Valgrind
Duration: 101.08 seconds
Result: PASS

Incremental Build with patches
Test ID: incremental_build
Desc: Incremental build per patch in the series
Duration: 183.88 seconds
Result: PASS

@IWDTestBot
Copy link
Copy Markdown
Owner Author

Fetch PR
Test ID: fetch
Desc: Fetch the PR commits for this CI run
Duration: 2.84 seconds
Result: PASS

GitLint
Test ID: gitlint
Desc: Run gitlint with rule in .gitlint
Duration: 2.16 seconds
Result: PASS

Prep - Setup ELL
Test ID: setupell
Desc: Clone, build, and install ELL
Duration: 24.04 seconds
Result: PASS

Make Distcheck
Test ID: makedistcheck
Desc: Run distcheck to check the distribution
Duration: 36.90 seconds
Result: PASS

Build - Configure
Test ID: build
Desc: Configure the BlueZ source tree
Duration: 20.81 seconds
Result: PASS

Make Check
Test ID: makecheck
Desc: Run 'make check'
Duration: 4.33 seconds
Result: PASS

Make Check w/Valgrind
Test ID: makecheckvalgrind
Desc: Run 'make check' with Valgrind
Duration: 124.05 seconds
Result: PASS

Incremental Build with patches
Test ID: incremental_build
Desc: Incremental build per patch in the series
Duration: 231.92 seconds
Result: PASS

Autotest Runner
Test ID: testrunner
Desc: Runs IWD's autotest framework
Duration: 1720.50 seconds
Result: FAIL

Output:

testClientNonInteractive

Clang Build
Test ID: clang
Desc: Build IWD using clang compiler
Duration: 125.74 seconds
Result: PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants