Skip to content

Conversation

@nfebe
Copy link

@nfebe nfebe commented Feb 10, 2026

The API endpoints now accept a 'context' parameter to specify which password policy set to use (account or sharing). This allows the files_sharing app to generate and validate passwords against the share-specific password policy instead of the default account policy.

Fixes: #870

The API endpoints now accept a 'context' parameter to specify which
password policy set to use (account or sharing). This allows the
files_sharing app to generate and validate passwords against the
share-specific password policy instead of the default account policy.

Fixes: #870
Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe nfebe force-pushed the fix/share-password-policy-generation branch from c464284 to d4a04f3 Compare February 10, 2026 13:35
@nfebe nfebe requested review from nickvergessen and susnux and removed request for susnux February 10, 2026 13:36

/**
* Get a PasswordContext enum from a string
* @since 3.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @since 3.0.0
* @since 6.0.0

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just the version - otherwise fine!

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was about to send the same PR as Talk iOS implemented it and we noticed they can't specify the context.
So backporting would be appreciated

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.

[Bug] Randomly generated password not complying with external sharing password policy

3 participants