Skip to content

Commit

Permalink
Added GPL-3.0 license
Browse files Browse the repository at this point in the history
  • Loading branch information
OtaK committed Feb 21, 2022
1 parent 96e4b10 commit 6ee7131
Show file tree
Hide file tree
Showing 62 changed files with 5,490 additions and 38 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Wire CoreCrypto
# Wire CoreCrypto

[![Wire logo](https://github.com/wireapp/wire/blob/master/assets/header-small.png?raw=true)](https://wire.com/jobs/)

Expand Down
5 changes: 3 additions & 2 deletions ROADMAP.tasks
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ CoreCrypto:
☐ Conversation management
☐ Bindings
☐ Swift
Compile
Compile @done (22-02-21 10:55)
✔ Produce @done (22-01-25 18:19)
☐ Test
☐ Package in a XCFramework?
✔ Package in a XCFramework @done (22-02-21 10:55)
☐ Package in a Swift package
☐ Kotlin
✔ Compile @done (22-01-28 10:42)
✔ Produce @done (22-01-25 18:19)
Expand Down
1 change: 1 addition & 0 deletions anycrypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "core-anycrypto"
version = "0.0.0"
edition = "2021"
license = "GPL-3.0-only"

[features]
default = []
Expand Down
674 changes: 674 additions & 0 deletions anycrypto/LICENSE

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions anycrypto/src/central/config.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Wire
// Copyright (C) 2022 Wire Swiss GmbH

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.


#[repr(C)]
#[derive(Debug)]
pub struct MlsConversationConfiguration {
Expand Down
16 changes: 16 additions & 0 deletions anycrypto/src/central/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Wire
// Copyright (C) 2022 Wire Swiss GmbH

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.

mod config;
use openmls::prelude::{TlsSerializeTrait, TlsSizeTrait};

Expand Down
16 changes: 16 additions & 0 deletions anycrypto/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Wire
// Copyright (C) 2022 Wire Swiss GmbH

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.

#[derive(Debug, thiserror::Error)]
pub enum MlsError {
#[error(transparent)]
Expand Down
16 changes: 16 additions & 0 deletions anycrypto/src/ffi.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Wire
// Copyright (C) 2022 Wire Swiss GmbH

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.

use std::sync::{ONCE_INIT, Once};

static LIB_HAS_INIT: Once = ONCE_INIT;
Expand Down
16 changes: 16 additions & 0 deletions anycrypto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Wire
// Copyright (C) 2022 Wire Swiss GmbH

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.

#![allow(dead_code, unused_variables)]

mod error;
Expand Down
16 changes: 16 additions & 0 deletions anycrypto/src/message.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// Wire
// Copyright (C) 2022 Wire Swiss GmbH

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.

use crate::error::CryptoResult;

#[repr(C)]
Expand Down
1 change: 1 addition & 0 deletions core-ds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "core-distribution-service"
version = "0.0.1"
edition = "2021"
license = "GPL-3.0-only"

[features]
default = ["sqlx-sqlite"]
Expand Down
Loading

0 comments on commit 6ee7131

Please sign in to comment.