Browse Source

Update the charm to work with renamed barbican-hsm interface

The barbican-hsm-plugin interface was changed to barbican-hsm.
changes/58/350258/1
Alex Kavanagh 2 years ago
parent
commit
a1d134bccd
4 changed files with 8 additions and 8 deletions
  1. 3
    3
      README.md
  2. 1
    1
      src/layer.yaml
  3. 3
    3
      src/metadata.yaml
  4. 1
    1
      tox.ini

+ 3
- 3
README.md View File

@@ -10,7 +10,7 @@ Systems.  It is intended to provide a example on how to plug an HSM into
10 10
 Barbican.
11 11
 
12 12
 In particular, the SoftHSM2 plugin charm (as a subordinate) implements the
13
-barbican-hsm-plugin interface which transfers the credentials to the Barbican
13
+barbican-hsm interface which transfers the credentials to the Barbican
14 14
 charm to be able to access the the HSM.
15 15
 
16 16
 From [the GitHub page](https://github.com/opendnssec/SoftHSMv2):
@@ -46,11 +46,11 @@ http://bugs.launchpad.net/charms/+source/barbican/).
46 46
 Barbican communicates with HSM devices via a local (to Barbican) PKCS11
47 47
 library.  Thus an HSM plugin needs to be local to the unit that a Barbican is
48 48
 installed on, and so a plugin charm is subordinate to the Barbican charm.  A
49
-plugin provides the barbican-hsm-plugin interface that provides sufficient
49
+plugin provides the barbican-hsm interface that provides sufficient
50 50
 details to the Barbican charm to be able to configure barbican to access the
51 51
 HSM's PKCS11 libary.
52 52
 
53
-The barbican-hsm-plugin interface transfers `login`, `slot_id` and
53
+The barbican-hsm interface transfers `login`, `slot_id` and
54 54
 `library_path` parameters to the Barbican charm, which uses them to configure
55 55
 Barbican to access the PKCS11 compliant library of the HSM.
56 56
 

+ 1
- 1
src/layer.yaml View File

@@ -1,4 +1,4 @@
1
-includes: ['layer:openstack', 'interface:barbican-hsm-plugin']
1
+includes: ['layer:openstack', 'interface:barbican-hsm']
2 2
 options:
3 3
   basic:
4 4
     use_venv: True

+ 3
- 3
src/metadata.yaml View File

@@ -5,12 +5,12 @@ subordinate: true
5 5
 description: |
6 6
   Barbican provides a secure storage for keys and other secrets and
7 7
   additionally has features to provide certificates to OpenStack applications.
8
-  The barbican-softhsm-plugin is for testing purposes only, and demonstrates
9
-  the barbican-hsm-plugin interface for interfacing real HSM providers with
8
+  The barbican-softhsm is for testing purposes only, and demonstrates
9
+  the barbican-hsm interface for interfacing real HSM providers with
10 10
   Barbican.
11 11
 provides:
12 12
   hsm:
13
-    interface: barbican-hsm-plugin
13
+    interface: barbican-hsm
14 14
     scope: container
15 15
 requires:
16 16
   juju-info:

+ 1
- 1
tox.ini View File

@@ -32,7 +32,7 @@ basepython = python3.5
32 32
 deps = -r{toxinidir}/test-requirements.txt
33 33
 commands = ostestr {posargs}
34 34
 
35
-[testenv:lint]
35
+[testenv:pep8]
36 36
 basepython = python2.7
37 37
 deps = -r{toxinidir}/test-requirements.txt
38 38
 commands = flake8 {posargs} src

Loading…
Cancel
Save