Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / app_settings / default / userdata.py @ d0986bac

History | View | Annotate | Download (286 Bytes)

1 c3e5f0bc Kostas Papadimitriou
# -*- coding: utf-8 -*-
2 c3e5f0bc Kostas Papadimitriou
#
3 c3e5f0bc Kostas Papadimitriou
# Userdata settings
4 c3e5f0bc Kostas Papadimitriou
###################
5 c3e5f0bc Kostas Papadimitriou
6 5db5b149 Kostas Papadimitriou
# Genetared SSH key bits length
7 5db5b149 Kostas Papadimitriou
USERDATA_SSH_KEY_LENGTH = 2048
8 5db5b149 Kostas Papadimitriou
9 5db5b149 Kostas Papadimitriou
# Generated SSH key exponent
10 5db5b149 Kostas Papadimitriou
USERDATA_SSH_KEY_EXPONENT = 65537
11 c72a830d Kostas Papadimitriou
12 c72a830d Kostas Papadimitriou
# Maximum number of ssh keys a user is allowed to have
13 1a97a220 Kostas Papadimitriou
USERDATA_MAX_SSH_KEYS_PER_USER = 10