Skip to content

Commit

Permalink
Merge pull request openwisp#42 from R9295/pass-feature
Browse files Browse the repository at this point in the history
Added support for passphrase feature.
  • Loading branch information
nemesifier authored Sep 19, 2018
2 parents 50cdf7d + 39fec69 commit df98881
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ install:
# TODO: temporary, remove when django-netjsonconfig 0.9.0 is released
- pip install https://github.com/openwisp/django-netjsonconfig/tarball/master
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install git+git://github.com/tinio/pysqlite.git@extension-enabled#egg=pysqlite; fi
# TODO: temporary, remove when django-x509 is released with the passphrase add-on
- pip install https://github.com/openwisp/django-x509/tarball/master

script:
# for some reason the migrations check is failing only on django 2.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 2.0.8 on 2018-09-18 12:41

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('pki', '0005_organizational_unit_name'),
]

operations = [
migrations.AddField(
model_name='ca',
name='passphrase',
field=models.CharField(blank=True, help_text='Passphrase for the private key, if present', max_length=64),
),
migrations.AddField(
model_name='cert',
name='passphrase',
field=models.CharField(blank=True, help_text='Passphrase for the private key, if present', max_length=64),
),
]

0 comments on commit df98881

Please sign in to comment.