Upgrade python/rsa to version-4.6
Exempt-From-Owner-Approval: upgrade lib
Change-Id: I0060c7ba0043698a3d7c12f36765641cfd0f8408
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..5c228ef
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,19 @@
+name: "rsa"
+description: "Python-RSA is a pure-Python RSA implementation. It supports encryption and decryption, signing and verifying signatures, and key generation according to PKCS#1 version 1.5."
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://stuvel.eu/rsa"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/sybrenstuvel/python-rsa/"
+ }
+ version: "version-4.6"
+ license_type: NOTICE
+ last_upgrade_date {
+ year: 2020
+ month: 7
+ day: 10
+ }
+}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..110ac37
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,4 @@
+# Default owners are top 3 or more active developers of the past 1 or 2 years
+# or people with more than 10 commits last year.
+# Please update this list if you find better owner candidates.
+herbertxue@google.com
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..61a80b2
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,8 @@
+{
+ "presubmit" : [
+ {
+ "name" : "acloud_test",
+ "host" : true
+ }
+ ]
+}
diff --git a/rsa/Android.bp b/rsa/Android.bp
new file mode 100644
index 0000000..eb8d917
--- /dev/null
+++ b/rsa/Android.bp
@@ -0,0 +1,33 @@
+// Copyright 2018 Google Inc. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+python_library {
+ name: "py-rsa",
+ host_supported: true,
+ srcs: [
+ "*.py",
+ ],
+ libs: [
+ "py-pyasn1",
+ ],
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+ pkg_path: "rsa",
+}
+