Commit f3b92a93 authored by apapkovskiy's avatar apapkovskiy
Browse files

Added content slots

parent 33684470
......@@ -16,5 +16,3 @@ prime/
/.settings/
/.history/
#temporary build
middleware_build/
\ No newline at end of file
-----BEGIN CERTIFICATE-----
MIIBQjCB6gIJAK73z82N6W6bMAoGCCqGSM49BAMCMEUxCzAJBgNVBAYTAkFVMRMw
EQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0
eSBMdGQwHhcNMTgxMjEwMTEwOTEzWhcNMjgxMjA3MTEwOTEzWjAPMQ0wCwYDVQQD
DARkZXYxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2vPYesmocPx/AjILggzB
+YfeLn0v/3n/kIrcUClb76/+2Cji/WYUNmVIhtvPV6+P9uy/Vp70dLx57Wix/rcF
eTAKBggqhkjOPQQDAgNHADBEAiAmhKAQwhn94fDsvSRCnnTzDHu6/r7qi/16FgYe
Sjy1iQIgTYMzWYazaCAjMOBK3WPD328XAYa8Svce5ByOYY0r7vY=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB0TCCAXegAwIBAgIJALKU6f36XQnAMAoGCCqGSM49BAMCMEUxCzAJBgNVBAYT
AkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRn
aXRzIFB0eSBMdGQwHhcNMTgxMjEwMDkzOTE5WhcNMjgxMjA3MDkzOTE5WjBFMQsw
CQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJu
ZXQgV2lkZ2l0cyBQdHkgTHRkMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZ/Wf
eeYhIfhHKAbWTQfpU6oQlzqi8G/9UJcQLRhkCXmdBjQN6PyeuI16O8wBXEPBAUrC
1l0R5+/Y6ldwNkIarKNQME4wHQYDVR0OBBYEFHWZRJxOikjvif01ZFBeXbnw92VZ
MB8GA1UdIwQYMBaAFHWZRJxOikjvif01ZFBeXbnw92VZMAwGA1UdEwQFMAMBAf8w
CgYIKoZIzj0EAwIDSAAwRQIhAO+Z+hzv2XJ0uT+yiyOIcc5dNyKrjuOyeu8RrMuE
KzktAiA6/ozj0I1FLAH3Q2R9M5xIZW/UHNxTwl8TuHPxOVe7jg==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIBQjCB6gIJAK73z82N6W6bMAoGCCqGSM49BAMCMEUxCzAJBgNVBAYTAkFVMRMw
EQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0
eSBMdGQwHhcNMTgxMjEwMTEwOTEzWhcNMjgxMjA3MTEwOTEzWjAPMQ0wCwYDVQQD
DARkZXYxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2vPYesmocPx/AjILggzB
+YfeLn0v/3n/kIrcUClb76/+2Cji/WYUNmVIhtvPV6+P9uy/Vp70dLx57Wix/rcF
eTAKBggqhkjOPQQDAgNHADBEAiAmhKAQwhn94fDsvSRCnnTzDHu6/r7qi/16FgYe
Sjy1iQIgTYMzWYazaCAjMOBK3WPD328XAYa8Svce5ByOYY0r7vY=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE REQUEST-----
MIHKMHECAQAwDzENMAsGA1UEAwwEZGV2MTBZMBMGByqGSM49AgEGCCqGSM49AwEH
A0IABNrz2HrJqHD8fwIyC4IMwfmH3i59L/95/5CK3FApW++v/tgo4v1mFDZlSIbb
z1evj/bsv1ae9HS8ee1osf63BXmgADAKBggqhkjOPQQDAgNJADBGAiEAwu68W/sy
5HWiw1+FR5Bq8MXmGfm0qBzg8EFqq8WDOkoCIQDgW0u+NoOWnuHkajcaF9CQnFHC
wt4dKyJYqnxRsxs95A==
-----END CERTIFICATE REQUEST-----
-----BEGIN EC PARAMETERS-----
BggqhkjOPQMBBw==
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIFUNL05x+VTiBsHusA2aMMXRbZiw7wVDF0J8XLA37yIQoAoGCCqGSM49
AwEHoUQDQgAE2vPYesmocPx/AjILggzB+YfeLn0v/3n/kIrcUClb76/+2Cji/WYU
NmVIhtvPV6+P9uy/Vp70dLx57Wix/rcFeQ==
-----END EC PRIVATE KEY-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAClprW2paa1thAAoAoGCCqGSM49
AwEHoUQDQgAE2vPYesmocPx/AjILggzB+YfeLn0v/3n/kIrcUClb76/+2Cji/WYU
NmVIhtvPV6+P9uy/Vp70dLx57Wix/rcFeQ==
-----END EC PRIVATE KEY-----
......@@ -8,6 +8,6 @@ e2a71ch = e2a71ch_section
[e2a71ch_section]
engine_id = e2a71ch
dynamic_path = $ENV::SNAP/libsss_a71ch_engine.so
dynamic_path = $ENV::SNAP/jrcp/lib/libsss_a71ch_engine.so
default_algorithms = RAND,ECDSA,ECDH
init = 1
-----BEGIN CERTIFICATE-----
MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6
b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL
MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv
b3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXj
ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM
9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw
IFAGbHrQgLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6
VOujw5H5SNz/0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L
93FcXmn/6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y/QCB/IIDEgEw+OyQm
jgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC
AYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3DQEBCwUA
A4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB/G/wkjUu0yKGX9rbxenDI
U5PMCCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt/msv0tadQ1wUs
N+gDS63pYaACbvXy8MWy7Vu33PqUXHeeE6V/Uq2V8viTO96LXFvKWlJbYK8U90vv
o/ufQJVtMVT8QtPHRh8jrdkPSHCa2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU
5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpy
rqXRfboQnoZsG4q5WTP468SQvvG5
-----END CERTIFICATE-----
name: a71ch-test
name: rigado-hsm-server
version: '0.1'
summary: rigado-A71CH
summary: rigado A71CH HSM server
description: |
NXP A71CH JRCP server for Rigado gateway
grade: devel
confinement: devmode
confinement: strict
slots:
lib-cert:
interface: content
content: lib-cert
read:
- $SNAP/certs
- certs
lib-engine:
interface: content
content: lib-engine
read:
- $SNAP/jrcp/lib
- jrcp/lib
parts:
sci2c:
......@@ -53,6 +55,9 @@ parts:
- -DWithSMCOM_VCOM=OFF
- -DWithSMCOM_JRCP=ON
- -DCMAKE_INSTALL_PREFIX=/jrcp
override-build: |
snapcraftctl build
cp ./ext/jrcplib/libjrcplib.so ${SNAPCRAFT_PART_INSTALL}/jrcp/lib
rootfs:
plugin: dump
......@@ -61,7 +66,7 @@ parts:
apps:
jrcp-server:
command: "bin/simple_server"
daemon: simple
# daemon: simple
plugs: &default-plugs [network-bind, network-control, network-setup-control, network]
A71CHConfigTool:
command: "bin/A71CHConfigTool"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment