chore: add astarte_core into the monorepo#1941
Draft
mizzet1 wants to merge 934 commits into
Draft
Conversation
Validate Cyanide 2.0 binaries
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Prepare 1.0.5 release
Forward port changes from v1.0
Encode binaryblobarray in object-aggregated values in Astarte events as
JSON arrays of base64-encoded values rather than a list of
`%Cyanide.Binary{}` structs.
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
…s-ok Correctly encode binaryblobarrays in JSON payload of Astarte events
Move the Cyanide 2.0 CHANGELOG.md entry to the correct release version (i.e. this one). Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Prepare 1.1.1 release
Forward port changes from release-1.1
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Use a more popular gradual typing tool, with better error messages. Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
The PLT cache directory was not created when cache miss, failing the dialyzer task. Create it. Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Update Elixir and Dialyzer tool
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Update Erlang/OTP to 26.1
IncomingIntrospectionEvent holds now a map
interface-name -> {major, minor}.
Keep the old plain introspection string as
a deprecated field.
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Standardize incoming introspection
The function translate from a realm name to a keyspace name, derived from realm + astarte_instance_id (optional parameter). This edit has became necessary before an extensive rewriting of the main astarte repo, in order to add the database keyspaces separation feature. See main project repo for further details Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Update changelog with new keyspace function Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Add translation function from realm to keyspace
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Prepare 1.0.6 release
implement to_int and from_int functions as ecto cast! and dump! by using cast! in InterfaceDescriptor.from_db_result and Mapping.from_db_result!, they can now also accept atom values this is useful when calling the function with an exandra object Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Forward-port changes from release-1.0
move openbao to its own library. needed in preparation of the TO2 rework, where astarte_fdo will need access to openbao's key Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
- Add OpenApiSpex dependency for API documentation - Add API annotations for Pairing API so API documentation can be autogenerated and exported to yaml using `mix openapi.spec.yaml --spec Astarte.PairingWeb.ApiSpec --start-app=false --vendor-extensions=false` Signed-off-by: nedimtokic <nedim.tokic@secomind.com>
…-platform#1870) Allow using Astarte as proxy to create keypairs in OpenBao of the chosen type. Endpoint: POST /v1/:realm_name/fdo/owner_key Payload params: action="create" / key_name / key_algorithm Controller tests added Signed-off-by: frossq <francesco.asquini@secomind.com>
- Implement `GET /owner_keys` in `OwnerKeyController` to retrieve keys for a specific realm. - Add `Secrets.Core.get_keys_from_algorithm/2` to handle fetching and mapping key names across multiple algorithms. - Support listing for `:es256`, `:es384`, `:rs256`, and `:rs384`. - Include controller tests to verify key listing functionality with OpenBao namespaces. Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
…ecret Signed-off-by: frossq <francesco.asquini@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Allow using Astarte as proxy to upload keys in OpenBao. Endpoint: POST /v1/:realm_name/fdo/owner_key Payload params: action="upload" / key_name / key_data Controller tests added Signed-off-by: frossq <francesco.asquini@secomind.com>
Return the list of keys with valid algorithm given an Ownership Voucher received as input
Validate the Voucher last entry public key with the one stored in OpenBao
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com> Signed-off-by: frossq <francesco.asquini@secomind.com> Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com> Signed-off-by: Alioune Gaye <alioune.gaye@secomind.com>
…1917) Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
340a774 to
e69f84a
Compare
ec6b013 to
b82fc5b
Compare
Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
b82fc5b to
c29108d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.