cifrado 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gitignore +18 -0
- data/CHANGELOG.md +44 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +247 -0
- data/RELEASE.md +10 -0
- data/Rakefile +21 -0
- data/TODO.md +6 -0
- data/bin/cifrado +7 -0
- data/cifrado.gemspec +31 -0
- data/gem-public_cert.pem +20 -0
- data/lib/cifrado.rb +48 -0
- data/lib/cifrado/cli.rb +140 -0
- data/lib/cifrado/cli/cinema.rb +81 -0
- data/lib/cifrado/cli/delete.rb +36 -0
- data/lib/cifrado/cli/download.rb +54 -0
- data/lib/cifrado/cli/jukebox.rb +94 -0
- data/lib/cifrado/cli/list.rb +64 -0
- data/lib/cifrado/cli/post.rb +10 -0
- data/lib/cifrado/cli/progressbar.rb +86 -0
- data/lib/cifrado/cli/saio.rb +11 -0
- data/lib/cifrado/cli/saio/base.rb +20 -0
- data/lib/cifrado/cli/saio/bootstrap.rb +118 -0
- data/lib/cifrado/cli/saio/destroy.rb +16 -0
- data/lib/cifrado/cli/saio/scripts/saio.sh.erb +445 -0
- data/lib/cifrado/cli/set_acl.rb +10 -0
- data/lib/cifrado/cli/setup.rb +64 -0
- data/lib/cifrado/cli/stat.rb +41 -0
- data/lib/cifrado/cli/upload.rb +269 -0
- data/lib/cifrado/config.rb +18 -0
- data/lib/cifrado/core_ext/ruby18_base64.rb +15 -0
- data/lib/cifrado/crypto_services.rb +218 -0
- data/lib/cifrado/file_splitter.rb +67 -0
- data/lib/cifrado/rate_limit.rb +23 -0
- data/lib/cifrado/streaming_downloader.rb +49 -0
- data/lib/cifrado/streaming_uploader.rb +57 -0
- data/lib/cifrado/swift_client.rb +313 -0
- data/lib/cifrado/utils.rb +59 -0
- data/lib/cifrado/version.rb +3 -0
- data/tests/cli/list_tests.rb +28 -0
- data/tests/cli/upload_multi_tests.rb +94 -0
- data/tests/cli/upload_tests.rb +167 -0
- data/tests/cli_tests.rb +2 -0
- data/tests/crypto_services_tests.rb +145 -0
- data/tests/file_splitter_tests.rb +61 -0
- data/tests/helper.rb +117 -0
- data/tests/swift_client/create_directory.rb +14 -0
- data/tests/swift_client/download_tests.rb +208 -0
- data/tests/swift_client/file_available.rb +25 -0
- data/tests/swift_client/head_tests.rb +34 -0
- data/tests/swift_client/match_tests.rb +29 -0
- data/tests/swift_client/upload_tests.rb +70 -0
- data/tests/swift_client_tests.rb +29 -0
- data/tests/utils_tests.rb +33 -0
- data/vendor/fog/.document +3 -0
- data/vendor/fog/.gitignore +23 -0
- data/vendor/fog/.irbrc +82 -0
- data/vendor/fog/.travis.yml +21 -0
- data/vendor/fog/README.cifrado +3 -0
- data/vendor/fog/README.md +156 -0
- data/vendor/fog/RELEASE.md +39 -0
- data/vendor/fog/changelog.txt +4156 -0
- data/vendor/fog/fog.gemspec +70 -0
- data/vendor/fog/lib/fog.rb +17 -0
- data/vendor/fog/lib/fog/cdn.rb +30 -0
- data/vendor/fog/lib/fog/compute.rb +127 -0
- data/vendor/fog/lib/fog/compute/models/server.rb +73 -0
- data/vendor/fog/lib/fog/core.rb +38 -0
- data/vendor/fog/lib/fog/core/attributes.rb +221 -0
- data/vendor/fog/lib/fog/core/collection.rb +145 -0
- data/vendor/fog/lib/fog/core/connection.rb +36 -0
- data/vendor/fog/lib/fog/core/credentials.rb +65 -0
- data/vendor/fog/lib/fog/core/current_machine.rb +34 -0
- data/vendor/fog/lib/fog/core/deprecated_connection_accessors.rb +41 -0
- data/vendor/fog/lib/fog/core/deprecation.rb +23 -0
- data/vendor/fog/lib/fog/core/errors.rb +108 -0
- data/vendor/fog/lib/fog/core/hmac.rb +48 -0
- data/vendor/fog/lib/fog/core/json.rb +34 -0
- data/vendor/fog/lib/fog/core/logger.rb +45 -0
- data/vendor/fog/lib/fog/core/mock.rb +92 -0
- data/vendor/fog/lib/fog/core/model.rb +79 -0
- data/vendor/fog/lib/fog/core/parser.rb +116 -0
- data/vendor/fog/lib/fog/core/provider.rb +35 -0
- data/vendor/fog/lib/fog/core/scp.rb +96 -0
- data/vendor/fog/lib/fog/core/service.rb +223 -0
- data/vendor/fog/lib/fog/core/ssh.rb +137 -0
- data/vendor/fog/lib/fog/core/time.rb +32 -0
- data/vendor/fog/lib/fog/core/timeout.rb +11 -0
- data/vendor/fog/lib/fog/core/wait_for.rb +15 -0
- data/vendor/fog/lib/fog/digitalocean.rb +9 -0
- data/vendor/fog/lib/fog/digitalocean/compute.rb +100 -0
- data/vendor/fog/lib/fog/digitalocean/examples/getting_started.md +106 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/flavor.rb +14 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/flavors.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/image.rb +15 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/images.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/region.rb +14 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/regions.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/server.rb +150 -0
- data/vendor/fog/lib/fog/digitalocean/models/compute/servers.rb +27 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/create_server.rb +49 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/create_ssh_key.rb +26 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/destroy_server.rb +28 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/get_server_details.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/list_flavors.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/list_images.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/list_regions.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/list_servers.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/power_cycle_server.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/power_off_server.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/power_on_server.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/reboot_server.rb +25 -0
- data/vendor/fog/lib/fog/digitalocean/requests/compute/shutdown_server.rb +25 -0
- data/vendor/fog/lib/fog/dns.rb +59 -0
- data/vendor/fog/lib/fog/identity.rb +27 -0
- data/vendor/fog/lib/fog/image.rb +24 -0
- data/vendor/fog/lib/fog/local.rb +11 -0
- data/vendor/fog/lib/fog/local/models/storage/directories.rb +33 -0
- data/vendor/fog/lib/fog/local/models/storage/directory.rb +57 -0
- data/vendor/fog/lib/fog/local/models/storage/file.rb +131 -0
- data/vendor/fog/lib/fog/local/models/storage/files.rb +87 -0
- data/vendor/fog/lib/fog/local/storage.rb +103 -0
- data/vendor/fog/lib/fog/network.rb +26 -0
- data/vendor/fog/lib/fog/openstack.rb +214 -0
- data/vendor/fog/lib/fog/openstack/README.identity.md +69 -0
- data/vendor/fog/lib/fog/openstack/compute.rb +423 -0
- data/vendor/fog/lib/fog/openstack/identity.rb +299 -0
- data/vendor/fog/lib/fog/openstack/image.rb +217 -0
- data/vendor/fog/lib/fog/openstack/models/compute/address.rb +71 -0
- data/vendor/fog/lib/fog/openstack/models/compute/addresses.rb +33 -0
- data/vendor/fog/lib/fog/openstack/models/compute/flavor.rb +45 -0
- data/vendor/fog/lib/fog/openstack/models/compute/flavors.rb +28 -0
- data/vendor/fog/lib/fog/openstack/models/compute/host.rb +29 -0
- data/vendor/fog/lib/fog/openstack/models/compute/hosts.rb +32 -0
- data/vendor/fog/lib/fog/openstack/models/compute/image.rb +58 -0
- data/vendor/fog/lib/fog/openstack/models/compute/images.rb +33 -0
- data/vendor/fog/lib/fog/openstack/models/compute/key_pair.rb +60 -0
- data/vendor/fog/lib/fog/openstack/models/compute/key_pairs.rb +31 -0
- data/vendor/fog/lib/fog/openstack/models/compute/metadata.rb +68 -0
- data/vendor/fog/lib/fog/openstack/models/compute/metadatum.rb +29 -0
- data/vendor/fog/lib/fog/openstack/models/compute/network.rb +13 -0
- data/vendor/fog/lib/fog/openstack/models/compute/networks.rb +29 -0
- data/vendor/fog/lib/fog/openstack/models/compute/security_group.rb +44 -0
- data/vendor/fog/lib/fog/openstack/models/compute/security_groups.rb +27 -0
- data/vendor/fog/lib/fog/openstack/models/compute/server.rb +278 -0
- data/vendor/fog/lib/fog/openstack/models/compute/servers.rb +44 -0
- data/vendor/fog/lib/fog/openstack/models/compute/snapshot.rb +44 -0
- data/vendor/fog/lib/fog/openstack/models/compute/snapshots.rb +26 -0
- data/vendor/fog/lib/fog/openstack/models/compute/tenant.rb +24 -0
- data/vendor/fog/lib/fog/openstack/models/compute/tenants.rb +24 -0
- data/vendor/fog/lib/fog/openstack/models/compute/volume.rb +59 -0
- data/vendor/fog/lib/fog/openstack/models/compute/volumes.rb +26 -0
- data/vendor/fog/lib/fog/openstack/models/identity/ec2_credential.rb +44 -0
- data/vendor/fog/lib/fog/openstack/models/identity/ec2_credentials.rb +53 -0
- data/vendor/fog/lib/fog/openstack/models/identity/role.rb +50 -0
- data/vendor/fog/lib/fog/openstack/models/identity/roles.rb +21 -0
- data/vendor/fog/lib/fog/openstack/models/identity/tenant.rb +62 -0
- data/vendor/fog/lib/fog/openstack/models/identity/tenants.rb +29 -0
- data/vendor/fog/lib/fog/openstack/models/identity/user.rb +70 -0
- data/vendor/fog/lib/fog/openstack/models/identity/users.rb +32 -0
- data/vendor/fog/lib/fog/openstack/models/image/image.rb +91 -0
- data/vendor/fog/lib/fog/openstack/models/image/images.rb +60 -0
- data/vendor/fog/lib/fog/openstack/models/meta_parent.rb +33 -0
- data/vendor/fog/lib/fog/openstack/models/network/floating_ip.rb +52 -0
- data/vendor/fog/lib/fog/openstack/models/network/floating_ips.rb +34 -0
- data/vendor/fog/lib/fog/openstack/models/network/network.rb +47 -0
- data/vendor/fog/lib/fog/openstack/models/network/networks.rb +34 -0
- data/vendor/fog/lib/fog/openstack/models/network/port.rb +53 -0
- data/vendor/fog/lib/fog/openstack/models/network/ports.rb +34 -0
- data/vendor/fog/lib/fog/openstack/models/network/subnet.rb +56 -0
- data/vendor/fog/lib/fog/openstack/models/network/subnets.rb +34 -0
- data/vendor/fog/lib/fog/openstack/models/storage/directories.rb +39 -0
- data/vendor/fog/lib/fog/openstack/models/storage/directory.rb +50 -0
- data/vendor/fog/lib/fog/openstack/models/storage/file.rb +152 -0
- data/vendor/fog/lib/fog/openstack/models/storage/files.rb +94 -0
- data/vendor/fog/lib/fog/openstack/models/volume/volume.rb +47 -0
- data/vendor/fog/lib/fog/openstack/models/volume/volumes.rb +27 -0
- data/vendor/fog/lib/fog/openstack/network.rb +247 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/add_fixed_ip.rb +29 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/allocate_address.rb +42 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/associate_address.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/attach_volume.rb +38 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/boot_from_snapshot.rb +41 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/change_server_password.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/confirm_resize_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_flavor.rb +85 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_image.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_key_pair.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_security_group.rb +52 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_security_group_rule.rb +59 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_server.rb +131 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_volume.rb +54 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/create_volume_snapshot.rb +47 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_flavor.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_image.rb +40 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_key_pair.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_metadata.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_security_group.rb +33 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_security_group_rule.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_server.rb +38 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_snapshot.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/delete_volume.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/detach_volume.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/disassociate_address.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_address.rb +41 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_console_output.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_flavor_details.rb +43 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_host_details.rb +74 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_image_details.rb +33 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_limits.rb +93 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_metadata.rb +29 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_quota.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_quota_defaults.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_security_group.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_server_details.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_server_volumes.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_snapshot_details.rb +39 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_usage.rb +53 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_vnc_console.rb +40 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/get_volume_details.rb +42 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_address_pools.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_addresses.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_all_addresses.rb +64 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_flavors.rb +38 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_flavors_detail.rb +38 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_hosts.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_images.rb +33 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_images_detail.rb +39 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_key_pairs.rb +39 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_metadata.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_private_addresses.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_public_addresses.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_security_groups.rb +50 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_servers.rb +37 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_servers_detail.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_snapshots.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_tenants.rb +45 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_usages.rb +43 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/list_volumes.rb +51 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/live_migrate_server.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/migrate_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/pause_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/reboot_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/rebuild_server.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/release_address.rb +34 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/remove_fixed_ip.rb +29 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/rescue_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/reset_server_state.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/resize_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/resume_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/revert_resize_server.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/server_action.rb +18 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/server_actions.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/server_diagnostics.rb +25 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/set_metadata.rb +45 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/set_tenant.rb +21 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/suspend_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/unpause_server.rb +24 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/update_metadata.rb +46 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/update_quota.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/compute/update_server.rb +35 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/add_user_to_tenant.rb +34 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/check_token.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/create_ec2_credential.rb +58 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/create_role.rb +37 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/create_tenant.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/create_user.rb +47 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/create_user_role.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/delete_ec2_credential.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/delete_role.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/delete_tenant.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/delete_user.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/delete_user_role.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_ec2_credential.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_role.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_tenant.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_tenants_by_id.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_tenants_by_name.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_user_by_id.rb +34 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/get_user_by_name.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_ec2_credentials.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_endpoints_for_token.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_roles.rb +36 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_roles_for_user_on_tenant.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_tenants.rb +45 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_user_global_roles.rb +22 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/list_users.rb +34 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/remove_user_from_tenant.rb +20 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/set_tenant.rb +21 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/update_tenant.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/update_user.rb +36 -0
- data/vendor/fog/lib/fog/openstack/requests/identity/validate_token.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/image/add_member_to_image.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/image/create_image.rb +79 -0
- data/vendor/fog/lib/fog/openstack/requests/image/delete_image.rb +25 -0
- data/vendor/fog/lib/fog/openstack/requests/image/get_image.rb +45 -0
- data/vendor/fog/lib/fog/openstack/requests/image/get_image_by_id.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/image/get_image_members.rb +29 -0
- data/vendor/fog/lib/fog/openstack/requests/image/get_shared_images.rb +29 -0
- data/vendor/fog/lib/fog/openstack/requests/image/list_public_images.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/image/list_public_images_detailed.rb +31 -0
- data/vendor/fog/lib/fog/openstack/requests/image/remove_member_from_image.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/image/set_tenant.rb +21 -0
- data/vendor/fog/lib/fog/openstack/requests/image/update_image.rb +70 -0
- data/vendor/fog/lib/fog/openstack/requests/image/update_image_members.rb +37 -0
- data/vendor/fog/lib/fog/openstack/requests/network/associate_floating_ip.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/network/create_floating_ip.rb +50 -0
- data/vendor/fog/lib/fog/openstack/requests/network/create_network.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/network/create_port.rb +52 -0
- data/vendor/fog/lib/fog/openstack/requests/network/create_subnet.rb +56 -0
- data/vendor/fog/lib/fog/openstack/requests/network/delete_floating_ip.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/network/delete_network.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/network/delete_port.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/network/delete_subnet.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/network/disassociate_floating_ip.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/network/get_floating_ip.rb +42 -0
- data/vendor/fog/lib/fog/openstack/requests/network/get_network.rb +42 -0
- data/vendor/fog/lib/fog/openstack/requests/network/get_port.rb +48 -0
- data/vendor/fog/lib/fog/openstack/requests/network/get_subnet.rb +49 -0
- data/vendor/fog/lib/fog/openstack/requests/network/list_floating_ips.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/network/list_networks.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/network/list_ports.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/network/list_subnets.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/network/set_tenant.rb +21 -0
- data/vendor/fog/lib/fog/openstack/requests/network/update_network.rb +41 -0
- data/vendor/fog/lib/fog/openstack/requests/network/update_port.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/network/update_subnet.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/copy_object.rb +27 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/delete_container.rb +22 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/delete_object.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/get_container.rb +44 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/get_containers.rb +33 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/get_object.rb +29 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/get_object_https_url.rb +51 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/head_container.rb +28 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/head_containers.rb +25 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/head_object.rb +23 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/post_set_meta_temp_url_key.rb +37 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/put_container.rb +22 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/put_object.rb +30 -0
- data/vendor/fog/lib/fog/openstack/requests/storage/put_object_manifest.rb +25 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/create_volume.rb +54 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/create_volume_snapshot.rb +47 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/delete_snapshot.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/delete_volume.rb +26 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/get_snapshot_details.rb +39 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/get_volume_details.rb +42 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/list_snapshots.rb +32 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/list_volumes.rb +55 -0
- data/vendor/fog/lib/fog/openstack/requests/volume/set_tenant.rb +21 -0
- data/vendor/fog/lib/fog/openstack/storage.rb +162 -0
- data/vendor/fog/lib/fog/openstack/volume.rb +219 -0
- data/vendor/fog/lib/fog/providers.rb +2 -0
- data/vendor/fog/lib/fog/schema/data_validator.rb +154 -0
- data/vendor/fog/lib/fog/storage.rb +97 -0
- data/vendor/fog/lib/fog/version.rb +3 -0
- data/vendor/fog/lib/fog/volume.rb +25 -0
- metadata +576 -0
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
Binary file
|
data/.gitignore
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Cifrado 0.1 - Sun 03 Mar 2013
|
2
|
+
|
3
|
+
* Uploading/downloading files and directories to OpenStack Swift.
|
4
|
+
* Asymmetric/Symmetric transparent encryption/decryption of files
|
5
|
+
when uploading/downloading using GnuPG.
|
6
|
+
* Segmented uploads (splitting the file in multiple segments).
|
7
|
+
* Resume (unencrypted) segmented uploads. Segments already uploaded
|
8
|
+
are not uploaded again. This feature does not work when using
|
9
|
+
file encryption at the moment.
|
10
|
+
* Different progressbar styles. CLI does not have to be boring :).
|
11
|
+
* Bandwidth limits when uploading/downloading stuff.
|
12
|
+
* Music streaming (streams mp3/ogg files available in a container).
|
13
|
+
and plays them using mplayer if available).
|
14
|
+
* Regular list/delete/stat commands.
|
15
|
+
* Video streaming (streams video files available in a container).
|
16
|
+
* Bootstrap a Swift All-In-One server in a cloud provider
|
17
|
+
(DigitalOcean is the only one supported ATM).
|
18
|
+
* Ruby 1.8.7, 1.9.X and 2.0 compatibility.
|
19
|
+
|
20
|
+
|
21
|
+
```
|
22
|
+
SLOC Directory SLOC-by-Language (Sorted)
|
23
|
+
1978 lib ruby=1663,sh=315
|
24
|
+
918 tests ruby=918
|
25
|
+
5 bin ruby=5
|
26
|
+
|
27
|
+
|
28
|
+
Totals grouped by language (dominant language first):
|
29
|
+
ruby: 2586 (89.14%)
|
30
|
+
sh: 315 (10.86%)
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
Total Physical Source Lines of Code (SLOC) = 2,901
|
36
|
+
Development Effort Estimate, Person-Years (Person-Months) = 0.61 (7.34)
|
37
|
+
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
|
38
|
+
Schedule Estimate, Years (Months) = 0.44 (5.33)
|
39
|
+
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
|
40
|
+
Estimated Average Number of Developers (Effort/Schedule) = 1.38
|
41
|
+
Total Estimated Cost to Develop = $ 82,664
|
42
|
+
(average salary = $56,286/year, overhead = 2.40).
|
43
|
+
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
|
44
|
+
```
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Sergio Rubio
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,247 @@
|
|
1
|
+
# Cifrado
|
2
|
+
|
3
|
+
**WARNING**
|
4
|
+
|
5
|
+
The current Cifrado release is experimental. Use at your own risk.
|
6
|
+
|
7
|
+
OpenStack Swift CLI with built in (GPG) encryption.
|
8
|
+
|
9
|
+
## Features available in Cifrado 0.1
|
10
|
+
|
11
|
+
* Uploading/downloading files and directories to/from OpenStack Swift.
|
12
|
+
* Regular list/delete/stat commands to manipulate objects and containers.
|
13
|
+
* Asymmetric/Symmetric transparent encryption/decryption of files
|
14
|
+
when uploading/downloading using GnuPG.
|
15
|
+
* Segmented uploads (splitting the file in multiple segments).
|
16
|
+
* Resume (unencrypted) segmented uploads. Segments already uploaded
|
17
|
+
are not uploaded again. This feature does not work when using
|
18
|
+
file encryption at the moment.
|
19
|
+
* Different progressbar styles. CLI does not have to be boring :).
|
20
|
+
* Bandwidth limits when uploading/downloading stuff.
|
21
|
+
* Music streaming (streams mp3/ogg files available in a container)
|
22
|
+
and plays them using mplayer/vlc/totem if available.
|
23
|
+
* Video streaming (streams video files available in a container).
|
24
|
+
* Bootstrap a Swift All-In-One server in a cloud provider
|
25
|
+
(DigitalOcean is the only one supported ATM).
|
26
|
+
* Ruby 1.8.7, 1.9.X and 2.0 compatibility.
|
27
|
+
|
28
|
+
Cifrado has a built-in help command:
|
29
|
+
|
30
|
+
```
|
31
|
+
Tasks:
|
32
|
+
cifrado cinema CONTAINER VIDEO # Stream videos from the target container
|
33
|
+
cifrado delete CONTAINER [OBJECT] # Delete specific container or object
|
34
|
+
cifrado download [CONTAINER] [OBJECT] # Download container, objects
|
35
|
+
cifrado help [TASK] # Describe available tasks or one specifi...
|
36
|
+
cifrado jukebox CONTAINER # Play music randomly from the target con...
|
37
|
+
cifrado list [CONTAINER] # List containers and objects
|
38
|
+
cifrado post CONTAINER [DESCRIPTION] # Create a container
|
39
|
+
cifrado saio SUBCOMMAND ...ARGS # Bootstrap a Swift installation
|
40
|
+
cifrado set-acl CONTAINER --acl=ACL # Set an ACL on containers and objects
|
41
|
+
cifrado setup # Initial Cifrado configuration
|
42
|
+
cifrado stat [CONTAINER] [OBJECT] # Displays information for the account, c...
|
43
|
+
cifrado upload CONTAINER FILE1 [FILE2] ... # Upload files or directories
|
44
|
+
|
45
|
+
Options:
|
46
|
+
[--username=USERNAME]
|
47
|
+
[--quiet=QUIET]
|
48
|
+
[--password=PASSWORD]
|
49
|
+
[--auth-url=AUTH_URL]
|
50
|
+
[--tenant=TENANT]
|
51
|
+
[--config=CONFIG]
|
52
|
+
[--region=REGION]
|
53
|
+
[--insecure] # Insecure SSL connections
|
54
|
+
[--debug]
|
55
|
+
```
|
56
|
+
|
57
|
+
## Installation
|
58
|
+
|
59
|
+
### Installing the Ubuntu packages (recommended)
|
60
|
+
|
61
|
+
Ubuntu packages are available in Cifrado's PPA for Ubuntu
|
62
|
+
Precise (12.04), Quantal (12.10) and Raring Ringtail (13.04).
|
63
|
+
|
64
|
+
To add the PPA and install the packages, open a terminal and type:
|
65
|
+
|
66
|
+
```
|
67
|
+
sudo add-apt-repository ppa:rubiojr/cifrado
|
68
|
+
sudo apt-get update
|
69
|
+
sudo apt-get install cifrado
|
70
|
+
```
|
71
|
+
|
72
|
+
You'll also need GnuPG and MPlayer installed if you want to have
|
73
|
+
music streaming and encryption support enabled in Cifrado
|
74
|
+
(GnuPG and the agent is pre-installed in a regular Ubuntu
|
75
|
+
installation):
|
76
|
+
|
77
|
+
sudo apt-get install mplayer gnupg gnupg-agent
|
78
|
+
|
79
|
+
### Installing via rubygems
|
80
|
+
|
81
|
+
Needs rubygems and ruby available in your system.
|
82
|
+
|
83
|
+
Ubuntu installation:
|
84
|
+
|
85
|
+
sudo apt-get install ruby rubygems
|
86
|
+
|
87
|
+
Install the gem:
|
88
|
+
|
89
|
+
sudo gem install cifrado
|
90
|
+
|
91
|
+
## Basic usage
|
92
|
+
|
93
|
+
### Setting up Cifrado for the first time
|
94
|
+
|
95
|
+
If you already have a Swift installation running,
|
96
|
+
you can use 'cifrado setup' to configure Cifrado for the first time.
|
97
|
+
|
98
|
+
Note that it's not strictly required to save the options or running the
|
99
|
+
setup process. If you do so, you'll not be asked for the username,
|
100
|
+
password, auth_url and other parameters required to run Cifrado.
|
101
|
+
|
102
|
+
The setup command will ask you the OpenStack Swift authentication
|
103
|
+
information:
|
104
|
+
|
105
|
+
$ cifrado setup
|
106
|
+
Running cifrado setup...
|
107
|
+
Please provide OpenStack/Rackspace credentials.
|
108
|
+
|
109
|
+
Cifrado can save this settings in /home/rubiojr/.config/cifrado/cifradorc
|
110
|
+
for later use.
|
111
|
+
The settings (password included) are saved unencrypted.
|
112
|
+
|
113
|
+
Username: user
|
114
|
+
Tenant: my_tenant
|
115
|
+
Password:
|
116
|
+
Auth URL: https://identity.example.net/v2.0/tokens
|
117
|
+
Do you want to save these settings? (y/n)
|
118
|
+
|
119
|
+
There's an alternative way to setup cifrado and provision a Swift All-In-One
|
120
|
+
server for testing and/or personal use. Head over to the Wiki for more
|
121
|
+
details.
|
122
|
+
|
123
|
+
### Uploading/Downloading files with Cifrado
|
124
|
+
|
125
|
+
#### Uploading files
|
126
|
+
|
127
|
+
Uploading a single file, LICENSE.txt, to container 'test':
|
128
|
+
|
129
|
+
```
|
130
|
+
$ cifrado upload test LICENSE.txt
|
131
|
+
|
132
|
+
Uploading LICENSE.txt (1.04 KB)
|
133
|
+
[0.00 Mb/s] Progress: |=====================| 100% [Time: 00:00:02 ]
|
134
|
+
```
|
135
|
+
|
136
|
+
Uploading a directory (recursively) to container 'test':
|
137
|
+
|
138
|
+
```
|
139
|
+
$ cifrado upload test tmp
|
140
|
+
|
141
|
+
Uploading tmp/LICENSE.txt (1.04 KB)
|
142
|
+
[0.00 Mb/s] Progress: |=====================| 100% [Time: 00:00:02 ]
|
143
|
+
Uploading tmp/cifrado.gemspec (1.14 KB)
|
144
|
+
[0.00 Mb/s] Progress: |=====================| 100% [Time: 00:00:02 ]
|
145
|
+
```
|
146
|
+
|
147
|
+
Limiting upload speed with --bwlimit:
|
148
|
+
|
149
|
+
```
|
150
|
+
$ cifrado upload --bwlimit 0.10 test pkg/cifrado-0.1.gem
|
151
|
+
|
152
|
+
Uploading pkg/cifrado-0.1.gem (163.00 KB)
|
153
|
+
[0.09 Mb/s] Progress: |=====================| 100% [Time: 00:00:14 ]
|
154
|
+
```
|
155
|
+
|
156
|
+
The bwlimit data rate unit is Mb/s. The same --bwlimit option can
|
157
|
+
be used when downloading files.
|
158
|
+
|
159
|
+
Uploading big files using segments:
|
160
|
+
|
161
|
+
```
|
162
|
+
$ cifrado upload --segments 3 test pkg/cifrado-0.1.gem
|
163
|
+
Segmenting file, 3 segments...
|
164
|
+
Uploading cifrado-0.1.gem segments
|
165
|
+
Uploading segment 1/3 (56.00 KB)
|
166
|
+
[0.00 Mb/s] Segment [1/3]: |================| 100% [Time: 00:00:02 ]
|
167
|
+
Uploading segment 2/3 (56.00 KB)
|
168
|
+
[0.00 Mb/s] Segment [2/3]: |================| 100% [Time: 00:00:02 ]
|
169
|
+
Uploading segment 3/3 (51.00 KB)
|
170
|
+
[0.00 Mb/s] Segment [3/3]: |================| 100% [Time: 00:00:03 ]
|
171
|
+
```
|
172
|
+
|
173
|
+
Note that segments are automatically reassembled by Swift when you
|
174
|
+
download the object. That is, to download cifrado-0.1.gem from the
|
175
|
+
test container, download it like any other regular object.
|
176
|
+
|
177
|
+
#### Downloading files
|
178
|
+
|
179
|
+
#### Encryption support
|
180
|
+
|
181
|
+
**Symmetric Encryption**
|
182
|
+
|
183
|
+
cifrado upload --insecure \
|
184
|
+
--encrypt symmetric \
|
185
|
+
my-container audio.mp3
|
186
|
+
|
187
|
+
Cifrado will ask you for the password.
|
188
|
+
|
189
|
+
You could also specify the password as an argument (not recommended):
|
190
|
+
|
191
|
+
cifrado upload --insecure \
|
192
|
+
--encrypt s:foobar \
|
193
|
+
my-container audio.mp3
|
194
|
+
|
195
|
+
**Asymmetric Encryption ('Traditional' GPG encryption)**
|
196
|
+
|
197
|
+
cifrado upload --insecure \
|
198
|
+
--encrypt a:rubiojr@frameos.org \
|
199
|
+
my-container audio.mp3
|
200
|
+
|
201
|
+
Or using the key ID:
|
202
|
+
|
203
|
+
cifrado upload --insecure \
|
204
|
+
--encrypt a:F345BE74 \
|
205
|
+
my-container audio.mp3
|
206
|
+
|
207
|
+
#### Streaming the music available in a container
|
208
|
+
|
209
|
+
Needs mplayer installed:
|
210
|
+
|
211
|
+
sudo apt-get install mplayer
|
212
|
+
|
213
|
+
Play the files available in the 'music' container:
|
214
|
+
|
215
|
+
```
|
216
|
+
$ cifrado jukebox music
|
217
|
+
|
218
|
+
Cifrado Jukebox
|
219
|
+
---------------
|
220
|
+
|
221
|
+
Ctrl-C once -> next song
|
222
|
+
Ctrl-C twice -> quit
|
223
|
+
|
224
|
+
Playing song
|
225
|
+
* spotify/Los Lobos/La Bamba.ogg
|
226
|
+
```
|
227
|
+
|
228
|
+
## Advanced usage
|
229
|
+
|
230
|
+
There's some extra documentation available in the project's wiki.
|
231
|
+
|
232
|
+
Head over to https://github.com/rubiojr/cifrado/wiki to learn about
|
233
|
+
Cifrado.
|
234
|
+
|
235
|
+
## Known issues
|
236
|
+
|
237
|
+
* Foo
|
238
|
+
* Bar
|
239
|
+
* A lot of them
|
240
|
+
|
241
|
+
## Contributing
|
242
|
+
|
243
|
+
1. Fork it
|
244
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
245
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
246
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
247
|
+
5. Create new Pull Request
|
data/RELEASE.md
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require 'fileutils'
|
3
|
+
require './lib/cifrado/version.rb'
|
4
|
+
|
5
|
+
PROJECT = 'cifrado'
|
6
|
+
PROJECT_VERSION = Cifrado::VERSION
|
7
|
+
|
8
|
+
task :deb, :destdir do |t, args|
|
9
|
+
destdir = (args[:destdir] || '/tmp')
|
10
|
+
FileUtils.mkdir_p(destdir) unless File.directory?(destdir)
|
11
|
+
pwd = Dir.pwd
|
12
|
+
Dir.chdir '../'
|
13
|
+
system "tar --exclude #{PROJECT}/.git --exclude #{PROJECT}/exclude --exclude " + \
|
14
|
+
"#{PROJECT}/debian " + \
|
15
|
+
"-czf #{destdir}/#{PROJECT}_#{PROJECT_VERSION}.orig.tar.gz " + \
|
16
|
+
"#{PROJECT}"
|
17
|
+
Dir.chdir "#{destdir}"
|
18
|
+
system "tar xzf #{PROJECT}_#{PROJECT_VERSION}.orig.tar.gz"
|
19
|
+
Dir.chdir pwd
|
20
|
+
system "cp -r debian #{destdir}/#{PROJECT}/"
|
21
|
+
end
|
data/TODO.md
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
* Cifrado::CLI needs heavy refactoring
|
2
|
+
* Graceful exits (i.e. when hitting Ctrl-C)
|
3
|
+
* Uploads with progressbar are very inefficient under ruby 1.8
|
4
|
+
(1.9 is slightly better)
|
5
|
+
* High CPU utilisation when uplading at high speed
|
6
|
+
* Implement 'swift style' segmented uploads
|
data/bin/cifrado
ADDED
data/cifrado.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cifrado/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "cifrado"
|
8
|
+
gem.version = Cifrado::VERSION
|
9
|
+
gem.authors = ["Sergio Rubio"]
|
10
|
+
gem.signing_key = File.expand_path("~/.gem/gem-private_key.pem")
|
11
|
+
gem.cert_chain = ["gem-public_cert.pem"]
|
12
|
+
gem.email = ["rubiojr@frameos.org"]
|
13
|
+
gem.description = %q{OpenStack Swift CLI with encryption support}
|
14
|
+
gem.summary = %q{OpenStack Swift CLI with encryption support}
|
15
|
+
gem.homepage = "http://rubiojr.github.com/cifrado"
|
16
|
+
|
17
|
+
gem.files = `git ls-files`.split($/)
|
18
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
19
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
20
|
+
gem.require_paths = ["lib"]
|
21
|
+
gem.add_dependency 'excon'
|
22
|
+
gem.add_dependency 'thor', '>= 0.17'
|
23
|
+
gem.add_dependency 'ruby-progressbar'
|
24
|
+
gem.add_dependency 'multi_json'
|
25
|
+
gem.add_dependency 'mime-types'
|
26
|
+
gem.add_dependency 'yajl-ruby'
|
27
|
+
gem.add_dependency 'formatador'
|
28
|
+
gem.add_dependency 'shexy'
|
29
|
+
|
30
|
+
gem.add_development_dependency 'shindo'
|
31
|
+
end
|
data/gem-public_cert.pem
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDNDCCAhygAwIBAgIBADANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdydWJp
|
3
|
+
b2pyMRcwFQYKCZImiZPyLGQBGRYHZnJhbWVvczETMBEGCgmSJomT8ixkARkWA29y
|
4
|
+
ZzAeFw0xMzAyMTIyMDU0NTFaFw0xNDAyMTIyMDU0NTFaMEAxEDAOBgNVBAMMB3J1
|
5
|
+
YmlvanIxFzAVBgoJkiaJk/IsZAEZFgdmcmFtZW9zMRMwEQYKCZImiZPyLGQBGRYD
|
6
|
+
b3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6gSsIib3HHQ87Dsu
|
7
|
+
9EZzKMk2oswglzatmxIbCKXTCflTFd7U4I3sinGCOPdkRmqf9vjJSv2ppFnq8D/J
|
8
|
+
flUrqpvqnDSGWW4mHdCXGGkbgsmNGV2d3AYGC1fhstBTxJIvQaDibxrH5IIqBtNN
|
9
|
+
wBGrOVuSb1HjqPpp+5MKcQdqYT4GW1rZkeV4FYXg+SThwjx+AlmvUKmMT9cmB2Ml
|
10
|
+
JWpId4O027AjcdmOk1s1ZMIlr+ZzV0EDmqPyNFmxZm72QUsywijM9B76eVC5sdOH
|
11
|
+
JKZK75oXtz0Pr++MYTlNaXHu98RzgMyOzLHM5LRCZg1f/zB9NbI2Fqm7IIfKpz0e
|
12
|
+
9KGBFQIDAQABozkwNzAJBgNVHRMEAjAAMB0GA1UdDgQWBBSO48JZEE9yvI13QfH2
|
13
|
+
UVEWt45QaTALBgNVHQ8EBAMCBLAwDQYJKoZIhvcNAQEFBQADggEBABTq7sClnZ83
|
14
|
+
ZeGgOUKMYq7/I5gGgZHyjIcuceMuVlhVWcjrxC1Fn7eqCZupAfveoxiNrWROmZ3C
|
15
|
+
26+nSlwMVQub9ruoGwejS1PSEBrtR56sZ78WNwUMogjzPUzDDgHZgDMneKLytSco
|
16
|
+
ustJSPP8wjxoV+59JuIFY8oqFy3B0o9b7WU59RNwqdauaWye1JEWr5c18dM8VJKC
|
17
|
+
9gNNNiwrh1Q5Q3HwjjeNlUjGZmQcgceG4Xdoox89/HNm5by83mHknD++tqwa2n8F
|
18
|
+
/Nnaz9wOXu6/VjBcnvFOGY8f32hVq619QiJVpV9zRgYa5M05mWRmwHByrb4yK0Ab
|
19
|
+
3GpyuMMNBMk=
|
20
|
+
-----END CERTIFICATE-----
|