Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Implementation of the intermediate certificate pinning feature. Added…#209

Merged
BobbyWeber merged 1 commit intodevelopfrom
US579432-IntermediateCertPinning
May 30, 2019
Merged

Implementation of the intermediate certificate pinning feature. Added…#209
BobbyWeber merged 1 commit intodevelopfrom
US579432-IntermediateCertPinning

Conversation

@mahithegeek
Copy link
Copy Markdown
Contributor

… a new enum to take the mode of SSL pinning.

Modified the logic of evaluating security configuration to include the SSL pinning mode.

… a new enum to take the mode of SSL pinning.

Modified the logic of evaluating security configuration to include the SSL pinning mode.
@interface MASSecurityConfiguration : MASObject


/**
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What if the Customer wants to enable both intermediate and leaf cert pinning.
I think we need to ponder about clubbing them together with an 'OR' clause.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

then thats a subset if you want leaf you any way get the intermediate also today....so then only pinning on intermediate has no value

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What I meant it should be product management decision ?

Copy link
Copy Markdown
Contributor

@ysd24 ysd24 left a comment

Choose a reason for hiding this comment

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

What if the Customer wants to enable both intermediate and leaf cert pinning.
I think we need to ponder about clubbing them together with an 'OR' clause.

Also we need to ponder about whether this decision should be coming from server in msso_config.json ?

But otherwise looks good to me.

@mahithegeek
Copy link
Copy Markdown
Contributor Author

What if the Customer wants to enable both intermediate and leaf cert pinning.
I think we need to ponder about clubbing them together with an 'OR' clause.

Also we need to ponder about whether this decision should be coming from server in msso_config.json ?

But otherwise looks good to me.

I learned from James that msso should not be modified for this feature as pinning is not only related to MAG/OTK but also any other public server. I will forward his email on this.

Copy link
Copy Markdown
Contributor

@ysd24 ysd24 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@BobbyWeber BobbyWeber merged commit 9bed3c1 into develop May 30, 2019
@BobbyWeber BobbyWeber deleted the US579432-IntermediateCertPinning branch May 30, 2019 17:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants