providers/saml: add verification_kp when verifying assertions against certificates without private key
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
# Generated by Django 3.1.3 on 2020-11-08 21:22
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("passbook_crypto", "0002_create_self_signed_kp"),
|
||||
("passbook_providers_saml", "0006_remove_samlprovider_name"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="samlprovider",
|
||||
name="verification_kp",
|
||||
field=models.ForeignKey(
|
||||
default=None,
|
||||
help_text="If selected, incoming assertion's Signatures will be validated.",
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.SET_NULL,
|
||||
related_name="+",
|
||||
to="passbook_crypto.certificatekeypair",
|
||||
verbose_name="Verification Keypair",
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user