add test cli for wallet options
This commit is contained in:
parent
7c36986141
commit
3b9ff8c15c
3 changed files with 52 additions and 7 deletions
test
|
@ -1,13 +1,17 @@
|
|||
#!/usr/bin/ruby
|
||||
|
||||
require 'fileutils'
|
||||
require 'gpgme'
|
||||
|
||||
FileUtils.rm_rf("#{Dir.home}/.config/mpw")
|
||||
FileUtils.rm_rf("#{Dir.home}/.gnupg")
|
||||
|
||||
param = ''
|
||||
param << '<GnupgKeyParms format="internal">' + "\n"
|
||||
param << "Key-Type: RSA\n"
|
||||
param << "Key-Length: 2048\n"
|
||||
param << "Key-Length: 512\n"
|
||||
param << "Subkey-Type: ELG-E\n"
|
||||
param << "Subkey-Length: 2048\n"
|
||||
param << "Subkey-Length: 512\n"
|
||||
param << "Name-Real: test\n"
|
||||
param << "Name-Comment: test\n"
|
||||
param << "Name-Email: test2@example.com\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue