Skip to content

Commit 0b07a5b

Browse files
committed
first commit
0 parents  commit 0b07a5b

125 files changed

Lines changed: 14435 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
!**/src/main/**/target/
4+
!**/src/test/**/target/
5+
6+
### IntelliJ IDEA ###
7+
.idea/*
8+
*.iws
9+
*.iml
10+
*.ipr
11+
12+
### Eclipse ###
13+
.apt_generated
14+
.classpath
15+
.factorypath
16+
.project
17+
.settings
18+
.springBeans
19+
.sts4-cache
20+
21+
### NetBeans ###
22+
/nbproject/private/
23+
/nbbuild/
24+
/dist/
25+
/nbdist/
26+
/.nb-gradle/
27+
build/
28+
!**/src/main/**/build/
29+
!**/src/test/**/build/
30+
31+
### VS Code ###
32+
.vscode/

.releaserc

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
## Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
## SPDX-License-Identifier: Apache-2.0
3+
{
4+
"branches": ["main"],
5+
"plugins": [
6+
["@semantic-release/commit-analyzer", {
7+
"preset": "conventionalcommits",
8+
"parserOpts": {
9+
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
10+
},
11+
"presetConfig": {
12+
"types": [
13+
{"type": "feat", "section": "Features"},
14+
{"type": "fix", "section": "Fixes"},
15+
{"type": "chore", "section": "Maintenance"},
16+
{"type": "docs", "section": "Maintenance"},
17+
{"type": "revert", "section": "Fixes"},
18+
{"type": "style", "hidden": true},
19+
{"type": "refactor", "hidden": true},
20+
{"type": "perf", "hidden": true},
21+
{"type": "test", "hidden": true}
22+
]
23+
},
24+
"releaseRules": [
25+
{"type": "docs", "release": "patch"},
26+
{"type": "revert", "release": "patch"},
27+
{"type": "chore", "release": "patch"}
28+
]
29+
}],
30+
["@semantic-release/release-notes-generator", {
31+
"preset": "conventionalcommits",
32+
"parserOpts": {
33+
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
34+
},
35+
"presetConfig": {
36+
"types": [
37+
{"type": "feat", "section": "Features"},
38+
{"type": "fix", "section": "Fixes"},
39+
{"type": "chore", "section": "Maintenance"},
40+
{"type": "docs", "section": "Maintenance"},
41+
{"type": "revert", "section": "Fixes"},
42+
{"type": "style", "hidden": true},
43+
{"type": "refactor", "hidden": true},
44+
{"type": "perf", "hidden": true},
45+
{"type": "test", "hidden": true}
46+
]
47+
}
48+
}],
49+
["@semantic-release/changelog", {
50+
"changelogFile": "./CHANGELOG.md",
51+
"changelogTitle": "# Changelog"
52+
}],
53+
["@semantic-release/exec", {
54+
"prepareCmd": "mvn versions:set -DnewVersion=${nextRelease.version} \
55+
-DautoVersionSubmodules=true && find README.md -type f \
56+
-exec sed -i 's/<version>.*<\\/version>/<version>${nextRelease.version}<\\/version>/g' {} \\;"
57+
}],
58+
["@semantic-release/git", {
59+
"assets": ["./CHANGELOG.md", "./pom.xml", "./README.md"],
60+
"message": "Amazon S3 Encryption Client ${nextRelease.version} Release -- ${new Date().toISOString().slice(0, 10)} \n\n${nextRelease.notes}"
61+
}],
62+
],
63+
"repositoryUrl": "https://github.com/aws/aws-s3-encryption-client-java",
64+
}

CHANGELOG.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Changelog
2+
3+
## [3.1.2](https://github.com/aws/aws-s3-encryption-client-java/compare/v3.1.1...v3.1.2) (2024-03-21)
4+
5+
6+
### Fixes
7+
8+
* create clients only if necessary ([#187](https://github.com/aws/aws-s3-encryption-client-java/issues/187)) ([ea0c0c7](https://github.com/aws/aws-s3-encryption-client-java/commit/ea0c0c762c6fd23204b0e59ae2a63b174880d48c))
9+
* do not signal onComplete when the incoming buffer length is less than the cipher block ([#209](https://github.com/aws/aws-s3-encryption-client-java/issues/209)) ([8b1a686](https://github.com/aws/aws-s3-encryption-client-java/commit/8b1a686e8ed5aae867dfc96b1b7a4b5e2ddeb095))
10+
11+
12+
### Maintenance
13+
14+
* fix dependabot.yml ([#190](https://github.com/aws/aws-s3-encryption-client-java/issues/190)) ([5ee8b08](https://github.com/aws/aws-s3-encryption-client-java/commit/5ee8b08fea7efaa25e8f6b0914134a0bb8bc5c9b))
15+
* modify range to allow queries specifying only the start index ([#184](https://github.com/aws/aws-s3-encryption-client-java/issues/184)) ([765b9c6](https://github.com/aws/aws-s3-encryption-client-java/commit/765b9c6a8ee61800fb98db30d64e5832f4cc6e39))
16+
* **README:** detail no unencrypted pass through ([#189](https://github.com/aws/aws-s3-encryption-client-java/issues/189)) ([576ea66](https://github.com/aws/aws-s3-encryption-client-java/commit/576ea661f5e6b098fad41999022b80c2a30f72dc)), closes [#186](https://github.com/aws/aws-s3-encryption-client-java/issues/186) [/github.com/aws/amazon-s3-encryption-client-java/issues/186#issuecomment-1973016669](https://github.com/aws//github.com/aws/amazon-s3-encryption-client-java/issues/186/issues/issuecomment-1973016669)
17+
18+
## [3.1.1](https://github.com/aws/aws-s3-encryption-client-java/compare/v3.1.0...v3.1.1) (2024-01-24)
19+
20+
21+
### Fixes
22+
23+
* Close threads when calling PutObject ([#180](https://github.com/aws/aws-s3-encryption-client-java/issues/180)) ([45b69fb](https://github.com/aws/aws-s3-encryption-client-java/commit/45b69fb1f2716f6cf2d114e1b6383670607580a1))
24+
25+
26+
### Maintenance
27+
28+
* allow ToolsDevelopment to Assume CI Role ([#179](https://github.com/aws/aws-s3-encryption-client-java/issues/179)) ([a9fdaa3](https://github.com/aws/aws-s3-encryption-client-java/commit/a9fdaa38ee826902e360fa6db1415e7e44705f99))
29+
* fix release script ([#177](https://github.com/aws/aws-s3-encryption-client-java/issues/177)) ([60c377b](https://github.com/aws/aws-s3-encryption-client-java/commit/60c377b88adf27dda2803f6dfe7c4b493d0f80d8))
30+
* update artifact-hunt.yml to pick the version from pom.xml ([#176](https://github.com/aws/aws-s3-encryption-client-java/issues/176)) ([9f6b90f](https://github.com/aws/aws-s3-encryption-client-java/commit/9f6b90fd8b486ffae0109c32b5308563808d6531))
31+
* update node version in version step ([#181](https://github.com/aws/aws-s3-encryption-client-java/issues/181)) ([49c2069](https://github.com/aws/aws-s3-encryption-client-java/commit/49c2069cd2a190035604d4450ea9d863175e713f))
32+
33+
## [3.1.0](https://github.com/aws/aws-s3-encryption-client-java/compare/v3.0.1...v3.1.0) (2023-08-31)
34+
35+
36+
### Features
37+
38+
* add configuration option to set max buffer size ([#166](https://github.com/aws/aws-s3-encryption-client-java/issues/166)) ([ecf6e6c](https://github.com/aws/aws-s3-encryption-client-java/commit/ecf6e6c0f9e03ce0e4c4333d60118651e495aea2))
39+
* multipart & ranged get examples ([#168](https://github.com/aws/aws-s3-encryption-client-java/issues/168)) ([203e5dc](https://github.com/aws/aws-s3-encryption-client-java/commit/203e5dc89f4ed5f264def37521755395f9b25990))
40+
* Refactor `KmsKeyring` to use `GenerateDataKey` instead of `Encrypt` ([#171](https://github.com/aws/aws-s3-encryption-client-java/issues/171)) ([a1a22a4](https://github.com/aws/aws-s3-encryption-client-java/commit/a1a22a49a912565642b6c561a05b97390c326e1a))
41+
42+
43+
### Fixes
44+
45+
* Create default wrapped clients only if necessary. ([#163](https://github.com/aws/aws-s3-encryption-client-java/issues/163)) ([285eab6](https://github.com/aws/aws-s3-encryption-client-java/commit/285eab68fdc2468e678d3b745d6502a9584752e4))
46+
* unwrap completion exception in AbortMultipartUpload and inside multipart putObject ([#174](https://github.com/aws/aws-s3-encryption-client-java/issues/174)) ([84baad8](https://github.com/aws/aws-s3-encryption-client-java/commit/84baad81bafb23b6690a1000447e1433da79ae6d))
47+
48+
49+
### Maintenance
50+
51+
* allow CI to run in forks ([#164](https://github.com/aws/aws-s3-encryption-client-java/issues/164)) ([66a5ca4](https://github.com/aws/aws-s3-encryption-client-java/commit/66a5ca4ceb670bf5d598baa92a96668694bee3b6))
52+
* **deps-dev:** bump bcprov-jdk18on from 1.72 to 1.74 ([#169](https://github.com/aws/aws-s3-encryption-client-java/issues/169)) ([5502eab](https://github.com/aws/aws-s3-encryption-client-java/commit/5502eab44d272dbc94ce7aa94ecb9a050f699c3a))
53+
* fix bugs and nit ([#175](https://github.com/aws/aws-s3-encryption-client-java/issues/175)) ([926818b](https://github.com/aws/aws-s3-encryption-client-java/commit/926818b0febbf823839a5053b6d9d5a25352faab))
54+
* install dependabot ([#172](https://github.com/aws/aws-s3-encryption-client-java/issues/172)) ([1c63fdb](https://github.com/aws/aws-s3-encryption-client-java/commit/1c63fdb87d3cb95caf0b496e148c145a26ea08f9))
55+
* warn against use of Encryption Context for non-kms keyrings. ([#173](https://github.com/aws/aws-s3-encryption-client-java/issues/173)) ([54557a9](https://github.com/aws/aws-s3-encryption-client-java/commit/54557a9660ce16e80dc58cd4f842a26b59c133b7))
56+
57+
### [3.0.1](https://github.com/aws/aws-s3-encryption-client-java/compare/v3.0.0...v3.0.1) (2023-06-01)
58+
59+
60+
### Maintenance
61+
62+
* add metadata downgrade tests([#55](https://github.com/aws/aws-s3-encryption-client-java/issues/55)) ([0fed900](https://github.com/aws/aws-s3-encryption-client-java/commit/0fed9007b6370552421bd1b3bcbba7f3789be47f))
63+
* fix some issues with release ([#156](https://github.com/aws/aws-s3-encryption-client-java/issues/156)) ([c6b4e64](https://github.com/aws/aws-s3-encryption-client-java/commit/c6b4e644b29c36adfedf3190cf2a139d8a130cda))
64+
65+
66+
### Fixes
67+
68+
* null check for InputStream in ApiNameVersion ([#161](https://github.com/aws/aws-s3-encryption-client-java/issues/161)) ([c23aeb2](https://github.com/aws/aws-s3-encryption-client-java/commit/c23aeb2dc7d33e54b7f285dba9691412675d0a02))
69+
* unwrap CompletionException in default client, rethrow as S3Encry… ([#162](https://github.com/aws/aws-s3-encryption-client-java/issues/162)) ([1a00d3e](https://github.com/aws/aws-s3-encryption-client-java/commit/1a00d3e9046cb0902d0f19249ec79a6a85b85cf5))
70+
71+
## [3.0.0](https://github.com/aws/aws-s3-encryption-client-java/compare/v2.0.0...v3.0.0) (2023-04-06)
72+
73+
74+
### ⚠ BREAKING CHANGES
75+
76+
* prod release for S3 EC (#152)
77+
78+
### Features
79+
80+
* prod release for S3 EC ([#152](https://github.com/aws/aws-s3-encryption-client-java/issues/152)) ([d724eab](https://github.com/aws/aws-s3-encryption-client-java/commit/d724eab8b5c090c5ea8e1a7e299fab0273fbe08b))
81+
82+
83+
### Fixes
84+
85+
* Revert "Amazon S3 Encryption Client 2.0.1 Release -- $(date +%Y-%m-%d)" (#151) ([a62e455](https://github.com/aws/aws-s3-encryption-client-java/commit/a62e4552c2b41bded2820c9a7fb60fd789667ec2)), closes [#151](https://github.com/aws/aws-s3-encryption-client-java/issues/151)
86+
* remove illegal javadoc syntax ([#147](https://github.com/aws/aws-s3-encryption-client-java/issues/147)) ([412a02c](https://github.com/aws/aws-s3-encryption-client-java/commit/412a02c8b096b586e21d459c7850af1cfc826652))
87+
* remove illegal javadoc tags ([#148](https://github.com/aws/aws-s3-encryption-client-java/issues/148)) ([d5682b9](https://github.com/aws/aws-s3-encryption-client-java/commit/d5682b9e2b3e17deb2c25af071652e323cc139f5))
88+
89+
90+
### Maintenance
91+
92+
* add scm url to pom.xml ([#155](https://github.com/aws/aws-s3-encryption-client-java/issues/155)) ([22ac9ad](https://github.com/aws/aws-s3-encryption-client-java/commit/22ac9ad056452a45b0d032954ab7d1da6a0f55fa))
93+
* add the developer guide to the README ([#150](https://github.com/aws/aws-s3-encryption-client-java/issues/150)) ([b41a07b](https://github.com/aws/aws-s3-encryption-client-java/commit/b41a07b873bf4479a816bc3de7fd2f443e877c94))
94+
* point release at correct internal staging domain, fix group id ([#149](https://github.com/aws/aws-s3-encryption-client-java/issues/149)) ([f88e89d](https://github.com/aws/aws-s3-encryption-client-java/commit/f88e89da9c7a8547715a1e675239e0291094514a))

CODE_OF_CONDUCT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Code of Conduct
2+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4+
opensource-codeofconduct@amazon.com with any additional questions or comments.

CONTRIBUTING.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Contributing Guidelines
2+
3+
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
4+
documentation, we greatly value feedback and contributions from our community.
5+
6+
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
7+
information to effectively respond to your bug report or contribution.
8+
9+
10+
## Reporting Bugs/Feature Requests
11+
12+
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
13+
14+
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
15+
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
16+
17+
* A reproducible test case or series of steps
18+
* The version of our code being used
19+
* Any modifications you've made relevant to the bug
20+
* Anything unusual about your environment or deployment
21+
22+
23+
## Contributing via Pull Requests
24+
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
25+
26+
1. You are working against the latest source on the *main* branch.
27+
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
28+
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
29+
30+
To send us a pull request, please:
31+
32+
1. Fork the repository.
33+
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
34+
3. Ensure local tests pass.
35+
4. Commit to your fork using clear commit messages.
36+
5. Send us a pull request, answering any default questions in the pull request interface.
37+
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
38+
39+
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
40+
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
41+
42+
43+
## Finding contributions to work on
44+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
45+
46+
47+
## Code of Conduct
48+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
49+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
50+
opensource-codeofconduct@amazon.com with any additional questions or comments.
51+
52+
53+
## Security issue notifications
54+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
55+
56+
57+
## Licensing
58+
59+
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

0 commit comments

Comments
 (0)