summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2008-05-30 10:00:29 (GMT)
committerDamien Laniel <dlaniel@entrouvert.com>2008-05-30 10:00:29 (GMT)
commit407cee5e07f9fc72456074925dbec7bc94166962 (patch)
tree6ddfe71612151d873075b2884118e049fe4e7433 /authentic/admin/settings.ptl
parent2143c9ac384164c6e1b5db4fd17c4a373f17cdf3 (diff)
downloadauthentic-old-407cee5e07f9fc72456074925dbec7bc94166962.zip
authentic-old-407cee5e07f9fc72456074925dbec7bc94166962.tar.gz
authentic-old-407cee5e07f9fc72456074925dbec7bc94166962.tar.bz2
nothing important
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl2
1 files changed, 1 insertions, 1 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index f2e82ab..0d60e39 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -1275,8 +1275,8 @@ class SettingsDirectory(Directory):
</KeyDescriptor>""" % (key_type, pem_key)
elif 'KEY' in pem_key:
pem_key = pem_key.strip()
- pem_key = pem_key.strip('-----END PUBLIC KEY-----')
pem_key = pem_key.strip('-----BEGIN PUBLIC KEY-----')
+ pem_key = pem_key.strip('-----END PUBLIC KEY-----')
pem_key = pem_key.strip()
idp_keys[key_type] = """
<KeyDescriptor use="%s">