Skip to content

Commit

Permalink
chore: add explict parity acknowledgement on cert & verifier files, c…
Browse files Browse the repository at this point in the history
…larify codebase copyright is assigned to n0, inc. (#1167)

* chore: add explict parity acknowledgement on cert & verifier files

* um, it's not 2024

* give attribution in a less extreme way

---------

Co-authored-by: Diva M <divma@protonmail.com>
  • Loading branch information
b5 and divagant-martian authored Jul 5, 2023
1 parent 86fdbb9 commit 04c7247
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023
Copyright 2023 N0, INC.

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ a cli.

# License

Copyright 2023 N0, INC.

This project is licensed under either of

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
Expand Down
3 changes: 3 additions & 0 deletions iroh-net/src/tls/certificate.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//! X.509 certificate handling.
//!
//! This module handles generation, signing, and verification of certificates.
//!
//! Based on rust-libp2p/transports/tls/src/certificate.rs originally licensed under MIT by Parity
//! Technologies (UK) Ltd.
use der::{asn1::OctetStringRef, Decode, Encode, Sequence};
use x509_parser::prelude::*;
Expand Down
4 changes: 3 additions & 1 deletion iroh-net/src/tls/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
//!
//! This module handles a verification of a client/server certificate chain
//! and signatures allegedly by the given certificates.
//!
//! Based on rust-libp2p/transports/tls/src/verifier.rs originally licensed under MIT by Parity
//! Technologies (UK) Ltd.
use std::sync::Arc;

use super::{certificate, PeerId};
Expand Down

0 comments on commit 04c7247

Please sign in to comment.