if (System.console() != null) {
                        signArgs.pass = String.valueOf(System.console().readPassword());
                    } else {
                        signArgs.pass = s.next();
                    }