# Generated by Django 5.0.8 on 2024-08-07 17:33

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("authentik_crypto", "0004_alter_certificatekeypair_name"),
        ("authentik_sources_saml", "0015_groupsamlsourceconnection_samlsourcepropertymapping"),
    ]

    operations = [
        migrations.AddField(
            model_name="samlsource",
            name="encryption_kp",
            field=models.ForeignKey(
                blank=True,
                default=None,
                help_text="When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="+",
                to="authentik_crypto.certificatekeypair",
                verbose_name="Encryption Keypair",
            ),
        ),
    ]
