Skip to content

Commit

Permalink
wip_commented
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinDelille committed Nov 1, 2022
1 parent 2bf4ffd commit 05c5c0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions renew.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ def create_box(public_key)
puts client.create_or_update_secret(
repo.id, secret[:name],
key_id: box[:key_id], encrypted_value: encrypted_value
#box = create_box(client.get_public_key(repo.id))
#encrypted = box[:box].encrypt(secret[:value])
#puts client.create_or_update_secret(
# repo.id, secret[:name],
# key_id: box[:key_id], encrypted_value: Base64.strict_encode64(encrypted)
)
puts client.last_response.status

0 comments on commit 05c5c0a

Please sign in to comment.