• Stars
    star
    98
  • Rank 345,882 (Top 7 %)
  • Language
    C#
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Secure Texting for Children

KinderChat

The goal of this application is to provide a secure chat application for children, where all the communications between children are encrypted and yet, parents have a golden key to monitor the communications of their children.

This application is born out two simple principles - first, that if a child has nothing to hide, he has nothing to fear; and second that a parent must trust but verify.

By allowing parents to monitor the conversation of their children with third parties, we can ensure their safety and a more harmonious future for everyone.

Cryptography and Onboarding Experience

At the core of Kinder Chat lives a secure cryptographic system. It is as secure as we could design it. Still, it could probably be improved by security and cryptographic experts. We welcome your input.

We have tried to solve the problem of onboarding users while providing a secure communication system.

Each time you run an instance of Kinder Chat, a new private/public key pair is generated. The private key never leaves your device. It is never posted to the web and is never recorded on the Kinder Chat servers. Instead, the public key is sent to the servers, and users are then able to merge one or more endpoints into a single identity.

For example, the identity "Miguel de Icaza" associated with the phone 555-555-5555 and the email address [email protected] would have many public keys associated with it, one for each device that completes the verification process.

Consider this scenario: Jose and Maria are the parents of Jesus, and Magdalena is a close friends of his.

When Magdalena wants to send a message to Jesus, her Kinder Chat application will retrieve from the server all the keys that are associated with Jesus. That will for example include the Jesus' iPhone key, and the Jesus' Android key, and also the keys for the Jesus' parents, Maria and Jose.

So if Maria sends the message "Sup yo", KinderChat encrypts that message using four different keys, one for each recipient (two of them are Jesus' different devices, and one for each parent in this case). Then the messages are posted to the server and stored in the respective buckets. Then the client KinderChat apps for Jesus, Maria and Jose will retrieve those copies and decrypt the results on each device.

This has some important side effects: if you change devices, or delete and reinstall the application on a device, new keys will be generated. This means that you could never decipher any previous messages stored. Your device becomes your key.

Kinder Points

To ensure that kids use the application for all their communication, a system of points was introduced. Points are earned for using the application, eating their veggies, or completing chores.

In-App purchases [*] allow children to purchase Kinder Points from their allowance. This empowers children to increase their Kinder Point scores on weeks where they have not performed their chores, ate their veggies or used the application enough. This teaches kids a valuable civics lesson: everything is for sale for the right price.

[*] This feature is not yet available in this public release.

Platforms

The code contains clients for Android, iOS and Windows 10. It contains a watchOS app for parents to grant points.

The Matriarch app is a Windows desktop application dashboard that centralizes the management and statistics for the activities performed by their offspring.

User Experience

The individual clients are written using native code for Android, iOS and Windows. They should provide a good blueprint for how to build native user experiences while sharing code across all three platforms.

Backend

We are hoping that no child will be left behind; that is, we want every kid in the world to use this safe and secure system, so we have designed the backend to scale.

The backend is built on top of Azure, and uses several Azure services to scale up. It uses the ServiceBus to connect the frontends to the backing stores.

This diagram shows the high-level architecture:

KinderChat Backend

Presentation

KinderChat is an application that we presented at Microsoft Build 2015 in April of 2015.

We introduced Kinder Chat at Build 2015, you can watch the video and download the slides for this project here:

https://channel9.msdn.com/Events/Build/2015/3-770

You can fast-forward to 8:50 to watch the introduction of Kinder Chat.

Slides or View online

Status

We build this code for about a month before the Build conference took place, and had not really had the time to work on this since then. While we like the user experience that we got up to the time of the release, the design language and idioms have evolved from April. If we had time, we would likely refresh some elements.

There is also a lot of room for improvement on the backend and how to scale it, but we have not really touched the code since the conference.

This project was originally conceived under a different name and a different target audience. Our delay to release the code was due to project cleanup. We may release the original project at a future date.

More Repositories

1

Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
C#
5,637
star
2

xamarin-forms-samples

Sample apps built using the Xamarin.Forms framework
C#
4,304
star
3

xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
C#
2,441
star
4

monodroid-samples

A collection of Xamarin.Android sample projects.
C#
2,197
star
5

XamarinComponents

Plugins for Xamarin
C#
1,990
star
6

ios-samples

Xamarin.iOS sample apps
C#
1,593
star
7

XamarinCommunityToolkit

The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.
C#
1,588
star
8

Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
C#
1,523
star
9

mobile-samples

C#
1,460
star
10

XobotOS

XobotOS - Android ported to C#
Java
1,246
star
11

xamarin-forms-book-samples

Code samples for "Creating Mobile Apps with Xamarin.Forms"
C#
725
star
12

docs-archive

Xamarin docs archive
Java
565
star
13

Xamarin.Auth

Xamarin.Auth
C#
544
star
14

urho

Code to integrate with the Urho3D engine
C#
463
star
15

app-crm

C#
384
star
16

urho-samples

Samples for the Urho bindings
C#
383
star
17

Sport

C#
358
star
18

Monkey.BluetoothLE

BluetoothLE abstraction for use with Xamarin projects, including Xamarin.Forms.
C#
348
star
19

mac-samples

Sample programs showing how to use Xamarin.Mac on OSX.
C#
321
star
20

GooglePlayServicesComponents

C#
307
star
21

WebSharp

Support for running C# on the web browser.
C#
302
star
22

mqtt

Minimalist and intuitive MQTT broker and client written entirely in C#
C#
297
star
23

dev-days-labs

C#
295
star
24

KimonoDesigner

Paint application using Xamarin.Mac and SkiaSharp
C#
260
star
25

SignaturePad

C#
246
star
26

GoogleApisForiOSComponents

C#
224
star
27

prebuilt-apps

Complete, prebuilt apps for you to customize and deploy.
C#
217
star
28

xamarin-forms-book-preview-2

Sample code for the 2nd Preview Edition of "Creating Mobile Apps with Xamarin.Forms"
C#
209
star
29

flex

Flex is a flexible box layout system written in C, designed to be easy to consume from other languages
C
192
star
30

Workbooks

C#
188
star
31

AndroidX

AndroidX bindings for .NET for Android
C#
168
star
32

binding-tools-for-swift

C#
154
star
33

AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
C#
145
star
34

XamarinStripe

Stripe.com .NET bindings
C#
134
star
35

Xamarin.Social

Xamarin.Social
C#
125
star
36

AngryNinjas

Angry Ninjas Cocos2D/XNA Sample
C#
120
star
37

customer-success-samples

Xamarin Customer Success
104
star
38

VervetaCRM

Publicly available CRM demonstration app.
C#
97
star
39

ExposureNotification.Sample

A sample cross-platform mobile app and server for exposure notifications.
C#
94
star
40

mini-hacks

Complete four mini-hacks during Evolve and get a prize.
C#
89
star
41

PortableRazor

A lightweight implementation of ASP.NET MVC APIs for mobile devices.
C#
89
star
42

FacebookComponents

C#
86
star
43

Seminars

Sample code used in the Xamarin Seminars
C#
68
star
44

amazon

Library for accessing Amazon web services from mobile apps
C#
62
star
45

xamarin-forms-book-preview

Sample code for the Preview Edition of "Creating Mobile Apps with Xamarin.Forms"
C#
61
star
46

mac-ios-samples

Samples targeting both iOS and OSX that share code.
C#
56
star
47

XamarinAzureChallenge

Create an iOS/Android app using Xamarin.Forms and connect it to a serverless Azure Function
C#
56
star
48

Touch.Unit

NUnitLite based runner for unit testing .NET code under iOS
C#
50
star
49

google-apis

Google API bindings for Xamarin.
C#
47
star
50

xamarin-evolve-2014

Slides, Demos and Training samples for Evolve 2014 from Xamarin University
C#
45
star
51

mobcat

43
star
52

Rivets

A C# implementation of App Links, functionally, a port of Bolts
C#
43
star
53

app-xamarintv

Xamarin.Forms app demonstrating the dual-screen device capability for neo and duo devices
C#
42
star
54

Xamarin.Forms.CarouselView

C#
41
star
55

Xamarin.Forms.GraphQL

C#
41
star
56

evolve-quest

Evolve Quest is an iBeacon based scavenger hunt that attendees enjoyed at Evolve 2014
C#
35
star
57

android-activity-controller

C#
35
star
58

xamarin-iot-samples

Samples for Xamarin IoT
C#
35
star
59

monotouch-element-pack

A place to host various MonoTouch.Dialog.Elements that users can use.
C#
35
star
60

Xamarin.Forms-api-docs

Xamarin.Forms API documentation in ECMA XML format
PowerShell
34
star
61

PortableRazorStarterKit

A starter kit for PortableRazor.
JavaScript
34
star
62

Xamarin.Legacy.Sdk

Starting from a .NET 6 project, adds the ability to target legacy Xamarin target frameworks such as monoandroid11.0 or xamarin.ios10. *Not fully supported*
34
star
63

SalesforceSDK

Salesforce SDK component
C#
31
star
64

apple-api-docs

Xamarin.iOS & Xamarin.Mac API documentation in ECMA XML format
F#
27
star
65

sketches

Xamarin Sample Sketches
26
star
66

benchmarker

A simple benchmarking and comparison tool
C#
26
star
67

Xamarin.MacDev

Support libraries for xamarin-macios
C#
25
star
68

mirepoix

A small collection of utility APIs including command line argument splitting and quoting, file system globbing, cross platform process execution, and console output redirection handling.
C#
25
star
69

Xamarin.PropertyEditing

C#
24
star
70

xamarinu-connect2016

C#
23
star
71

app-customers

A simple demo app with three screens: a list screen, a read-only detail screen, and an editable detail screen.
C#
23
star
72

xunit

xUnit
C#
22
star
73

MyCompany

C#
22
star
74

jar2xml

Java Archive API extraction tool
Java
19
star
75

android-api-docs

Android API documentation
PowerShell
19
star
76

demo-xamarincrm

C#
19
star
77

Urho3D

Clone of the Urho3D repository
C++
19
star
78

XamarinAndroidXMigration

Build tasks and tools to support Xamarin.Android AndroidX migration
C#
18
star
79

xamarin-evolution

Maintains proposals for changes to the Xamarin SDKs (Android, iOS, Forms, Components, Urho, Skia)
18
star
80

dropbox-sync-component

C#
18
star
81

vs-mono-debugger-sample

Sample showing how to use the Visual Studio Mono Debugger for your own Mono-based project types
C#
17
star
82

DocWriter

Desktop Editor for the ECMA XML Documentation
C#
16
star
83

evolve-presentation-template

Evolve 2016 Presentation Templates
HTML
15
star
84

SaveTheDate

C#
14
star
85

xamarin-windows

Provides reusable MSBuild tasks and sample Visual Studio tooling for building and debugging Mono AOT compiled binaries
C#
14
star
86

fsharpbinding

F# binding for MonoDevelop (updated to support Xamarin Studio)
F#
14
star
87

Windows.Injector

Allows injecting .NET code into a remote process in Windows
C++
13
star
88

web-tests

C#
12
star
89

md-xamarin-fsharp-addins

F# magic
F#
11
star
90

fsharp-iOS-designer

iOS designer integration for F#
F#
11
star
91

moq

The most popular and friendly mocking library for .NET and Xamarin
C#
9
star
92

sales-uitest-extensions

Extension methods for UITest
C#
7
star
93

component-template

A sample template that you can use as a guide to create your own components.
Ruby
7
star
94

xamarin-android-binutils

LLVM toolchain for Xamarin.Android
C++
7
star
95

evolve-2014-presentation-template

Evolve 2014 Presentation Template
7
star
96

emscripten-test

C
6
star
97

Gendarme.Rules.Xamarin

Gendarme static analysis rules for Xamarin.
C#
6
star
98

NuGetizer3000

C#
6
star
99

Wikitude

C#
6
star
100

release-notes-archive

Xamarin release notes from 2018 and earlier
HTML
6
star