Skip to content

Commit

Permalink
Cosmetic changes upon completion of encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kranz committed Nov 21, 2015
1 parent 0cd5645 commit 9a0ce5a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ An Android app to forward SMS to an email account

Implemented thus far are:
* [x] Basic functionality (accepting SMTP credentials and actually catching and forwarding SMS via SMTP)
* [x] End-to-end encryption via PGP

Planned features:
* [ ] End-to-end encryption via PGP
* [ ] Direct access to javax.mail props
2 changes: 1 addition & 1 deletion app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="recyclerview-v7-23.1.1" level="project" />
<orderEntry type="library" exported="" name="mail" level="project" />
<orderEntry type="library" exported="" name="support-annotations-23.1.1" level="project" />
<orderEntry type="library" exported="" name="pkix-1.51.0.0" level="project" />
<orderEntry type="library" exported="" name="support-annotations-23.1.1" level="project" />
<orderEntry type="library" exported="" name="support-v4-23.1.1" level="project" />
<orderEntry type="library" exported="" name="design-23.1.1" level="project" />
<orderEntry type="library" exported="" name="appcompat-v7-23.1.1" level="project" />
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "org.tpmkranz.smsforward"
minSdkVersion 15
targetSdkVersion 23
versionCode 20151120
versionName "0.9.0.1"
versionCode 20151122
versionName "0.9.1"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public boolean hasKey(){

public String encrypt(String plainText) throws NoSuchAlgorithmException, IOException, PGPException {
byte[] rawText = plainText.getBytes();
//This needs, like, three metric fucktons of explanation and/or cleaning up
ByteArrayOutputStream encOut = new ByteArrayOutputStream();
OutputStream out = new ArmoredOutputStream(encOut);
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
Expand Down

0 comments on commit 9a0ce5a

Please sign in to comment.